X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gui.c;h=411ec12e014486247bb4793c81dfcfd3f23a846b;hb=c95affa70d7025252d63f7d931535f8c10bb483b;hp=893d7c9df44c04ece06e71f84503a08639952a5e;hpb=d0944fc942fad418aed45245e4259780f2fc0697;p=gpsp.git diff --git a/gui.c b/gui.c index 893d7c9..411ec12 100644 --- a/gui.c +++ b/gui.c @@ -42,7 +42,7 @@ #define FILE_LIST_ROWS 25 #define FILE_LIST_POSITION 5 -#define DIR_LIST_POSITION 360 +#define DIR_LIST_POSITION (resolution_width * 3 / 4) #endif @@ -808,7 +808,7 @@ s32 load_game_config_file() for(i = 0; i < 10; i++) { - cheats[i].cheat_active = file_options[3 + i] % 2; + cheats[i].cheat_active = file_options[4 + i] % 2; cheats[i].cheat_name[0] = 0; }