diff options
Diffstat (limited to 'source/nds')
-rw-r--r-- | source/nds/gui.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c index b18bbed..06a8500 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -2533,8 +2533,10 @@ u32 menu(u16 *screen) void menu_load_cheat_file() { - char *file_ext[] = { ".cht", NULL }; - u32 i, string_num, string_len; + if (!first_load) + { + char *file_ext[] = { ".cht", NULL }; + u32 i, string_num, string_len; int flag; if(load_file(file_ext, tmp_filename, DEFAULT_CHEAT_DIR) != -1) @@ -2557,6 +2559,7 @@ u32 menu(u16 *screen) cheat_menu_init(); } + } } void save_screen_snapshot() |