mirror of https://github.com/PCSX2/pcsx2.git
Changed how the turbo key works. Now it'll always go to turbo mode, even when global frame limit is off.
(When global frame limit is off, it'll enable it and go to turbo mode then.) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3097 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
5cc918b9dd
commit
d03b93bfca
|
@ -72,13 +72,18 @@ namespace Implementations
|
|||
|
||||
void Framelimiter_TurboToggle()
|
||||
{
|
||||
ScopedCoreThreadPause pauser;
|
||||
|
||||
if( !g_Conf->EmuOptions.GS.FrameLimitEnable )
|
||||
{
|
||||
Console.WriteLn( "(FrameLimiter) Turbo toggle ignored; framelimiter is currently disabled." );
|
||||
g_Conf->EmuOptions.GS.FrameLimitEnable = true;
|
||||
g_LimiterMode = Limit_Turbo;
|
||||
g_Conf->EmuOptions.GS.LimitScalar = g_Conf->Framerate.TurboScalar;
|
||||
Console.WriteLn("(FrameLimiter) Turbo + FrameLimit ENABLED." );
|
||||
pauser.AllowResume();
|
||||
return;
|
||||
}
|
||||
|
||||
ScopedCoreThreadPause pauser;
|
||||
if( g_LimiterMode == Limit_Turbo )
|
||||
{
|
||||
GSsetVsync( g_Conf->EmuOptions.GS.VsyncEnable );
|
||||
|
|
Loading…
Reference in New Issue