diff options
author | Nebuleon Fumika | 2013-01-13 04:17:40 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-13 04:17:40 -0500 |
commit | 5b33e3c903f87d17fec7b92e2cf2f578d0b8d7b5 (patch) | |
tree | 666b65be80e47f07eea9667d02dd717607f23405 /source | |
parent | 7cfc6b8bf8e4c3f717c8c8dc72dc17fc51d79854 (diff) | |
download | snesemu-5b33e3c903f87d17fec7b92e2cf2f578d0b8d7b5.tar.gz snesemu-5b33e3c903f87d17fec7b92e2cf2f578d0b8d7b5.tar.bz2 snesemu-5b33e3c903f87d17fec7b92e2cf2f578d0b8d7b5.zip |
Raise the CPU only after the delay required by ds2_setBacklight().
Diffstat (limited to 'source')
-rw-r--r-- | source/nds/gui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c index 0882b6f..01f08e3 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -3838,7 +3838,6 @@ u32 menu(u16 *screen) save_game_config_file(); } save_emu_config_file(); - set_cpu_clock(clock_speed_number); ds2_clearScreen(DOWN_SCREEN, 0); ds2_flipScreen(DOWN_SCREEN, DOWN_SCREEN_UPDATE_METHOD); @@ -3849,6 +3848,8 @@ u32 menu(u16 *screen) mdelay(100); // to prevent ds2_setBacklight() from crashing ds2_setBacklight(2); + set_cpu_clock(clock_speed_number); + runTimer(0 /* timer interrupt channel for sound */); return return_value; |