diff options
author | Nebuleon Fumika | 2013-02-06 06:27:11 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-02-06 06:27:11 -0500 |
commit | 04037a309694dc56e3139f676b409ba7deab9298 (patch) | |
tree | 7944226fee405fc5b700b3b4c0ffca4276304313 /source/nds | |
parent | 3dc666810732dcabb95a3bd1d02d4fcee0befd3f (diff) | |
download | snes9x2005-04037a309694dc56e3139f676b409ba7deab9298.tar.gz snes9x2005-04037a309694dc56e3139f676b409ba7deab9298.tar.bz2 snes9x2005-04037a309694dc56e3139f676b409ba7deab9298.zip |
When changing languages, quit doing the "Changing language, please wait..." as it only takes a few milliseconds.
Diffstat (limited to 'source/nds')
-rw-r--r-- | source/nds/gui.c | 14 | ||||
-rw-r--r-- | source/nds/message.h | 3 |
2 files changed, 0 insertions, 17 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c index 9ce602c..5e02a55 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -2709,21 +2709,8 @@ u32 menu(u16 *screen, bool8 FirstInvocation) if(gui_action == CURSOR_LEFT || gui_action == CURSOR_RIGHT) { HighFrequencyCPU(); // crank it up - if(bg_screenp != NULL) - { - bg_screenp_color = COLOR16(43, 11, 11); - memcpy(bg_screenp, down_screen_addr, 256*192*2); - } - else - bg_screenp_color = COLOR_BG; - - draw_message(down_screen_addr, bg_screenp, 28, 31, 227, 165, bg_screenp_color); - draw_string_vcenter(down_screen_addr, 36, 75, 190, COLOR_MSSG, msg[MSG_CHANGE_LANGUAGE]); - draw_string_vcenter(down_screen_addr, 36, 95, 190, COLOR_MSSG, msg[MSG_CHANGE_LANGUAGE_WAITING]); - ds2_flipScreen(DOWN_SCREEN, DOWN_SCREEN_UPDATE_METHOD); load_language_msg(LANGUAGE_PACK, emu_config.language); - // gui_change_icon(emu_config.language); // uncomment if images change per language [Neb] if(first_load) { @@ -2733,7 +2720,6 @@ u32 menu(u16 *screen, bool8 FirstInvocation) } LowFrequencyCPU(); // and back down - wait_Allkey_release(0); } } diff --git a/source/nds/message.h b/source/nds/message.h index 64c3a6c..c7e79b8 100644 --- a/source/nds/message.h +++ b/source/nds/message.h @@ -121,9 +121,6 @@ enum MSG MSG_PROGRESS_SCREENSHOT_CREATION_SUCCEEDED, MSG_PROGRESS_SCREENSHOT_CREATION_FAILED, - MSG_CHANGE_LANGUAGE, - MSG_CHANGE_LANGUAGE_WAITING, - MSG_NO_SLIDE, MSG_PLAYING_SLIDE, MSG_PAUSE_SLIDE, |