Replaced spaces in cfgu.c.
This commit is contained in:
parent
80c9b397ba
commit
eb0f771409
@ -11,6 +11,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
|
|
||||||
u8 language = 0;
|
u8 language = 0;
|
||||||
|
Result res;
|
||||||
|
|
||||||
// Init console for text output
|
// Init console for text output
|
||||||
consoleInit(GFX_BOTTOM, NULL);
|
consoleInit(GFX_BOTTOM, NULL);
|
||||||
@ -18,7 +19,7 @@ int main(int argc, char** argv)
|
|||||||
// Read the language field from the config savegame.
|
// Read the language field from the config savegame.
|
||||||
// See here for more block IDs:
|
// See here for more block IDs:
|
||||||
// http://3dbrew.org/wiki/Config_Savegame#Configuration_blocks
|
// http://3dbrew.org/wiki/Config_Savegame#Configuration_blocks
|
||||||
CFGU_GetConfigInfoBlk2(1, 0xA0002, &language);
|
res = CFGU_GetConfigInfoBlk2(1, 0xA0002, &language);
|
||||||
|
|
||||||
|
|
||||||
// Main loop
|
// Main loop
|
||||||
@ -26,7 +27,7 @@ int main(int argc, char** argv)
|
|||||||
{
|
{
|
||||||
hidScanInput();
|
hidScanInput();
|
||||||
|
|
||||||
// Print language code
|
// Print return value and language code
|
||||||
printf("\x1b[0;0HLanguage code: %d", (int)language);
|
printf("\x1b[0;0HLanguage code: %d", (int)language);
|
||||||
|
|
||||||
u32 kDown = hidKeysDown();
|
u32 kDown = hidKeysDown();
|
||||||
|
Loading…
Reference in New Issue
Block a user