diff options
author | twinaphex | 2018-03-31 14:02:58 +0200 |
---|---|---|
committer | twinaphex | 2018-03-31 14:02:58 +0200 |
commit | ba88b0b450fdc5a9e14a4193735de1982155f2c2 (patch) | |
tree | 11744d8ae746b579070a80a819a4f6ce4f1b5b64 | |
parent | 9f836824d9f447ac8f2ffc829ebb02e49caf5e57 (diff) | |
download | snes9x2005-ba88b0b450fdc5a9e14a4193735de1982155f2c2.tar.gz snes9x2005-ba88b0b450fdc5a9e14a4193735de1982155f2c2.tar.bz2 snes9x2005-ba88b0b450fdc5a9e14a4193735de1982155f2c2.zip |
Put ifdefs around S9xSetSoundMute call for now
-rw-r--r-- | libretro.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -450,13 +450,17 @@ void retro_run(void) bool videoEnabled = 0 != (result & 1); bool hardDisableAudio = 0 != (result & 8); IPPU.RenderThisFrame = videoEnabled; +#ifdef USE_BLARGG_APU S9xSetSoundMute(!audioEnabled || hardDisableAudio); +#endif Settings.HardDisableAudio = hardDisableAudio; } else { IPPU.RenderThisFrame = true; +#ifdef USE_BLARGG_APU S9xSetSoundMute(false); +#endif Settings.HardDisableAudio = false; } |