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:
ramapcsx2 2010-05-28 13:47:13 +00:00
parent 5cc918b9dd
commit d03b93bfca
1 changed files with 7 additions and 2 deletions

View File

@ -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 );