Stop the audio mixing when stepping in the debugger.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1960 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-01-20 18:42:01 +00:00
parent e7e19bbfe8
commit 1dcd036b9e
3 changed files with 8 additions and 1 deletions

View File

@ -58,6 +58,11 @@ void Mixer(short *buffer, int numSamples, int bits, int rate, int channels)
// silence
memset(buffer, 0, numSamples * 2 * sizeof(short));
if (g_dspInitialize.pEmulatorState) {
if (*g_dspInitialize.pEmulatorState != 0)
return;
}
// first get the DTK Music
if (g_Config.m_EnableDTKMusic)
{