diff --git a/Core/Config.cpp b/Core/Config.cpp index 5d859b404f..295bf67d1f 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -657,7 +657,6 @@ static ConfigSetting graphicsSettings[] = { ReportedConfigSetting("BloomHack", &g_Config.iBloomHack, 0, true, true), // Not really a graphics setting... - ReportedConfigSetting("TimerHack", &g_Config.bTimerHack, &DefaultTimerHack, true, true), ReportedConfigSetting("SplineBezierQuality", &g_Config.iSplineBezierQuality, 2, true, true), ReportedConfigSetting("HardwareTessellation", &g_Config.bHardwareTessellation, false, true, true), ReportedConfigSetting("PostShader", &g_Config.sPostShaderName, "Off", true, true), diff --git a/Core/Config.h b/Core/Config.h index 482882076d..f33648eccc 100644 --- a/Core/Config.h +++ b/Core/Config.h @@ -185,7 +185,6 @@ public: bool bReloadCheats; int iCwCheatRefreshRate; int iBloomHack; //0 = off, 1 = safe, 2 = balanced, 3 = aggressive - bool bTimerHack; bool bBlockTransferGPU; bool bDisableSlowFramebufEffects; bool bFragmentTestCache; diff --git a/Core/CoreTiming.cpp b/Core/CoreTiming.cpp index 150f5599ea..0e80ddc3a7 100644 --- a/Core/CoreTiming.cpp +++ b/Core/CoreTiming.cpp @@ -120,15 +120,8 @@ u64 GetGlobalTimeUsScaled() { s64 ticksSinceLast = GetTicks() - lastGlobalTimeTicks; int freq = GetClockFrequencyMHz(); - if (g_Config.bTimerHack) { - float vps; - __DisplayGetVPS(&vps); - if (vps > 4.0f) - freq *= (vps / 59.94f); - } s64 usSinceLast = ticksSinceLast / freq; return lastGlobalTimeUs + usSinceLast; - } u64 GetGlobalTimeUs() diff --git a/Core/Reporting.cpp b/Core/Reporting.cpp index a927c55510..6aeeadfbc3 100644 --- a/Core/Reporting.cpp +++ b/Core/Reporting.cpp @@ -458,8 +458,6 @@ namespace Reporting bool IsSupported() { // Disabled when using certain hacks, because they make for poor reports. - if (g_Config.bTimerHack) - return false; if (CheatsInEffect()) return false; if (g_Config.iLockedCPUSpeed != 0) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index 752f84caa3..1d2e83fe68 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -461,11 +461,6 @@ void GameSettingsScreen::CreateViews() { #endif graphicsSettings->Add(new ItemHeader(gr->T("Hack Settings", "Hack Settings (these WILL cause glitches)"))); - CheckBox *timerHack = graphicsSettings->Add(new CheckBox(&g_Config.bTimerHack, gr->T("Timer Hack"))); - timerHack->OnClick.Add([=](EventParams &e) { - settingInfo_->Show(gr->T("TimerHack Tip", "Changes game clock based on emu speed, may break games"), e.v); - return UI::EVENT_CONTINUE; - }); static const char *bloomHackOptions[] = { "Off", "Safe", "Balanced", "Aggressive" }; PopupMultiChoice *bloomHack = graphicsSettings->Add(new PopupMultiChoice(&g_Config.iBloomHack, gr->T("Lower resolution for effects (reduces artifacts)"), bloomHackOptions, 0, ARRAY_SIZE(bloomHackOptions), gr->GetName(), screenManager()));