aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-08 23:53:31 -0500
committerNebuleon Fumika2013-01-08 23:53:31 -0500
commit8872841ad12815fc00cd331992da1daea4d44d22 (patch)
tree31bca37cc1fc469a3e255bcdf7d7f80cca2c3285 /source
parent1896286ad5bbe3390ccaf2e7ca54917a3a48a42f (diff)
downloadsnes9x2005-8872841ad12815fc00cd331992da1daea4d44d22.tar.gz
snes9x2005-8872841ad12815fc00cd331992da1daea4d44d22.tar.bz2
snes9x2005-8872841ad12815fc00cd331992da1daea4d44d22.zip
Try fixing a crash in the sound interrupt.
Diffstat (limited to 'source')
-rw-r--r--source/nds/entry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nds/entry.cpp b/source/nds/entry.cpp
index a666a0b..788dd35 100644
--- a/source/nds/entry.cpp
+++ b/source/nds/entry.cpp
@@ -1061,7 +1061,7 @@ void NDSSFCProduceSound (unsigned int unused)
{
unsigned short *audiobuff;
- if (!IsSoundGenerated || so.mute_sound || !game_enable_audio)
+ if (Settings.Paused || !IsSoundGenerated || so.mute_sound || !game_enable_audio)
return;
if(ds2_checkAudiobuff() > 4)