Fix tests hanging, after the audio rewrite

This commit is contained in:
Henrik Rydgard 2012-11-17 18:08:10 +01:00
parent 74c646cf76
commit d239f4ece1
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ void __AudioUpdate()
// Sleep here until the host audio hardware is ready to receive samples.
// This will effectively throttle the frame rate.
if (!noThrottle) {
if (!noThrottle && g_Config.bEnableSound) {
while (true)
{
if (outAudioQueue.size() < hwBlockSize * 4)

View file

@ -135,7 +135,7 @@ int main(int argc, const char* argv[])
coreParameter.headLess = true;
coreParameter.printfEmuLog = true;
g_Config.bEnableSound = true;
g_Config.bEnableSound = false;
g_Config.bFirstRun = false;
g_Config.bIgnoreBadMemAccess = true;