mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Oops, left a test value behind in the frame rate check
This commit is contained in:
+1
-1
@@ -876,7 +876,7 @@ bool NativeInitGraphics(GraphicsContext *graphicsContext) {
|
||||
// Warn about low refresh rates on desktop. Might add other platforms later.
|
||||
#if PPSSPP_PLATFORM(WINDOWS) || PPSSPP_PLATFORM(MAC)
|
||||
const double displayHz = System_GetPropertyFloat(SYSPROP_DISPLAY_REFRESH_RATE);
|
||||
if (displayHz < 355.0f) {
|
||||
if (displayHz < 55.0f) {
|
||||
// This is a warning, not an error.
|
||||
auto g = GetI18NCategory(I18NCat::GRAPHICS);
|
||||
g_OSD.Show(OSDType::MESSAGE_WARNING, ApplySafeSubstitutions(g->T("Your display is set to a low refresh rate: %1 Hz. 60 Hz or higher is recommended."), (int)displayHz), 8.0f, "low_refresh");
|
||||
|
||||
Reference in New Issue
Block a user