Fixed the throttle (Tab) key so that it takes effect when the frame-limiter is used. Hold down Tab to run the emulator unthrottled (Windows only).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6598 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau
2010-12-17 01:34:40 +00:00
parent 9afb1dab41
commit aecc4f67a1
2 changed files with 6 additions and 4 deletions

View File

@ -127,9 +127,9 @@ void CMixer::PushSamples(short *samples, unsigned int num_samples)
break;
}
// Shortcut key for Throttle Skipping
#ifdef _WIN32
#ifdef _WIN32
if (GetAsyncKeyState(VK_TAB)) break;;
#endif
#endif
SLEEP(1);
soundStream->Update();
}