aboutsummaryrefslogtreecommitdiff
path: root/source/nds/gui.c
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-17 18:52:22 -0500
committerNebuleon Fumika2013-01-17 18:52:22 -0500
commit944d9a729455de435c3d200752308ceedf250196 (patch)
treec18c839c5f4d766d3298744faf54e5971fff6a6c /source/nds/gui.c
parent582b3a23ceeb9e894b0f1d43de09e97a91a4d3b9 (diff)
downloadsnes9x2005-944d9a729455de435c3d200752308ceedf250196.tar.gz
snes9x2005-944d9a729455de435c3d200752308ceedf250196.tar.bz2
snes9x2005-944d9a729455de435c3d200752308ceedf250196.zip
Reinstate timer-interrupt audio.
This reverts commit 0d048d05ee50625f15d5235d362df6ee71903fc5.
Diffstat (limited to 'source/nds/gui.c')
-rw-r--r--source/nds/gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index c3d5043..baa6f6b 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -1654,6 +1654,7 @@ unsigned int frame_interval;
--------------------------------------------------------*/
u32 menu(u16 *screen)
{
+ stopTimer(0 /* timer interrupt channel for sound */);
gui_action_type gui_action;
u32 i;
u32 repeat;
@@ -3867,6 +3868,8 @@ u32 menu(u16 *screen)
set_cpu_clock(clock_speed_number);
+ runTimer(0 /* timer interrupt channel for sound */);
+
return return_value;
}