From 8542bb0e72df7e099e192dcf5efa553d8ad61677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 10 Nov 2026 12:13:54 +0100 Subject: [PATCH] UI: Give lag sync's old name in its hint Co-Authored-By: Claude Opus 5.5 --- UI/Settings/SystemPage.cpp | 2 +- docs/ppsspp-ui-translation-en.md | 4 ++-- libretro/libretro_core_options.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/UI/Settings/SystemPage.cpp b/UI/Settings/SystemPage.cpp index 6f1c327a4c..78f5de2898 100644 --- a/UI/Settings/SystemPage.cpp +++ b/UI/Settings/SystemPage.cpp @@ -249,7 +249,7 @@ void BuildSystemSettings(SettingsPage *page, SystemPageState *state) { } page->Setting(&g_Config.iIOTimingMethod); - page->Setting(&g_Config.bForceLagSync).Disabled(&g_Config.bAutoFrameSkip).Hint({ I18NCat::SYSTEM, "LowLatencyCPUTiming Tip", "Runs emulation in step with real time instead of a frame at a time, for less audio, input and network delay. Uses a little more CPU, and goes back to normal timing when the device is too busy." }); + page->Setting(&g_Config.bForceLagSync).Disabled(&g_Config.bAutoFrameSkip).Hint({ I18NCat::SYSTEM, "LowLatencyCPUTiming Tip", "Runs emulation in step with real time instead of a frame at a time, for less audio, input and network delay. Uses a little more CPU, and goes back to normal timing when the device is too busy. Previously called \"Force real clock sync\"." }); page->Setting(&g_Config.iLockedCPUSpeed); page->Header({I18NCat::SAVEDATA, "Save states"}); // Borrow this string from the savedata manager diff --git a/docs/ppsspp-ui-translation-en.md b/docs/ppsspp-ui-translation-en.md index 2cea722b8b..cc4df0a865 100644 --- a/docs/ppsspp-ui-translation-en.md +++ b/docs/ppsspp-ui-translation-en.md @@ -1290,9 +1290,9 @@ Scope: keys under the `[System]` section only. Every behavior claim below was ve - Meaning: `Core/HLE/sceDisplay.cpp` `hleLagSync()` — an event run every 1 ms that keeps **emulated time in step with the wall clock**, sleeping until real time catches up, instead of emulating each frame as fast as possible and then waiting. That spreads the emulator's output (audio, network packets) evenly over the frame and reads input closer to when it's used, so delay goes down. It costs a little more CPU, and when the device has little time to spare it falls back to normal per-frame timing by itself. See `docs/lag-sync.md`. - Note: "CPU timing" means the timing of the emulated PSP's CPU against real time, not the host CPU's speed. "Low-latency" = less delay, not "lower quality". -- **`LowLatencyCPUTiming Tip`** — "Runs emulation in step with real time instead of a frame at a time, for less audio, input and network delay. Uses a little more CPU, and goes back to normal timing when the device is too busy." +- **`LowLatencyCPUTiming Tip`** — "Runs emulation in step with real time instead of a frame at a time, for less audio, input and network delay. Uses a little more CPU, and goes back to normal timing when the device is too busy. Previously called "Force real clock sync"." - Where: hint under the setting above. - - Note: "a frame at a time" = emulating a whole video frame in one go, then waiting. + - Note: "a frame at a time" = emulating a whole video frame in one go, then waiting. The old name must be the one this language actually showed: the translation of `Force real clock sync (slower, less lag)`, without the part in parentheses. - **`I/O timing method`** — "I/O timing method" - Where: System page, "Emulation" (`UI/Settings/SystemPage.cpp:248`); config `IOTimingMethod`, choices `iOTimingMethodNames[]` (`Core/Config.cpp:563`), enum `IOTIMING_FAST/HOST/REALISTIC/UMDSLOWREALISTIC` (`Core/ConfigValues.h:204-207`), default FAST. Per-game. diff --git a/libretro/libretro_core_options.h b/libretro/libretro_core_options.h index 50ae319b97..a8794411f5 100644 --- a/libretro/libretro_core_options.h +++ b/libretro/libretro_core_options.h @@ -183,7 +183,7 @@ struct retro_core_option_v2_definition option_defs_us[] = { "ppsspp_force_lag_sync", "Low-Latency CPU Timing", NULL, - "Runs emulation in step with real time instead of a frame at a time, for less audio, input and network delay. Uses a little more CPU, and goes back to normal timing when the device is too busy.", + "Runs emulation in step with real time instead of a frame at a time, for less audio, input and network delay. Uses a little more CPU, and goes back to normal timing when the device is too busy. Previously called \"Force Real Clock Sync\".", NULL, "system", BOOL_OPTIONS,