Remove speed hack on sound off for NES core, I've been told bypassing the APU isn't TAS safe

This commit is contained in:
adelikat 2012-07-05 19:27:07 +00:00
parent a127e2e4f2
commit 9a86b483d7
1 changed files with 2 additions and 0 deletions

View File

@ -185,6 +185,7 @@ namespace BizHawk.MultiClient
else else
DSoundBuffer.Volume = 0 - ((100 - Global.Config.SoundVolume) * 15); DSoundBuffer.Volume = 0 - ((100 - Global.Config.SoundVolume) * 15);
/* //adelikat: I've been told this isn't TAS safe, so I'm disabling this speed hack
if (Global.Emulator is NES) if (Global.Emulator is NES)
{ {
NES n = Global.Emulator as NES; NES n = Global.Emulator as NES;
@ -193,6 +194,7 @@ namespace BizHawk.MultiClient
else else
n.SoundOn = true; n.SoundOn = true;
} }
*/
} }
} }
#else #else