mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Add a hotkey for disabling the framelimit.
Atm this is hardcoded to '\t'.
This commit is contained in:
parent
a40ea4e26a
commit
8483811b39
9 changed files with 27 additions and 8 deletions
|
@ -7,7 +7,7 @@
|
|||
#include "Common/Atomic.h"
|
||||
#include "Common/CPUDetect.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/HW/AudioInterface.h"
|
||||
#include "Core/HW/VideoInterface.h"
|
||||
|
||||
|
@ -124,7 +124,7 @@ void CMixer::PushSamples(const short *samples, unsigned int num_samples)
|
|||
if (*PowerPC::GetStatePtr() != PowerPC::CPU_RUNNING || soundStream->IsMuted())
|
||||
break;
|
||||
// Shortcut key for Throttle Skipping
|
||||
if (Host_GetKeyState('\t'))
|
||||
if (Core::IsFramelimiterTempDisabled)
|
||||
break;
|
||||
SLEEP(1);
|
||||
soundStream->Update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue