diff --git a/Core/Config.cpp b/Core/Config.cpp index dd8e45681f..da6e4c0d74 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -658,7 +658,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/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/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index c3b98df7a1..643526d6d6 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; - }); CheckBox *stencilTest = graphicsSettings->Add(new CheckBox(&g_Config.bDisableStencilTest, gr->T("Disable Stencil Test"))); stencilTest->SetDisabledPtr(&g_Config.bSoftwareRendering);