diff options
author | aliaspider | 2014-11-26 22:36:10 +0100 |
---|---|---|
committer | aliaspider | 2014-11-26 22:36:10 +0100 |
commit | 66002fa1812ca3f4e6bf9f1a10617e98ff4353e5 (patch) | |
tree | 7153f58f71cff6fe36f1343ba863b953df0c8ede /source/apu.c | |
parent | 238cf4a72fc162adbef4e48f75698ed54ed99369 (diff) | |
download | snes9x2005-66002fa1812ca3f4e6bf9f1a10617e98ff4353e5.tar.gz snes9x2005-66002fa1812ca3f4e6bf9f1a10617e98ff4353e5.tar.bz2 snes9x2005-66002fa1812ca3f4e6bf9f1a10617e98ff4353e5.zip |
(windows) another build fix.
Diffstat (limited to 'source/apu.c')
-rw-r--r-- | source/apu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/apu.c b/source/apu.c index b47ef54..d1142f0 100644 --- a/source/apu.c +++ b/source/apu.c @@ -553,11 +553,7 @@ void S9xFixEnvelope(int channel, uint8_t gain, uint8_t adsr1, uint8_t adsr2) int attack = AttackRate [adsr1 & 0xf]; - if (attack == 1 && (!Settings.SoundSync -#ifdef __WIN32__ - || Settings.SoundDriver != WIN_SNES9X_DIRECT_SOUND_DRIVER -#endif - )) + if (attack == 1 && (!Settings.SoundSync)) attack = 0; S9xSetSoundADSR(channel, attack, |