Oops, left a test value behind in the frame rate check

This commit is contained in:
Henrik Rydgård
2025-08-21 15:02:12 +02:00
parent 1f2e284cac
commit b4bd111379
+1 -1
View File
@@ -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");