aboutsummaryrefslogtreecommitdiff
path: root/src/qt_common/config/shared_translation.cpp
diff options
context:
space:
mode:
authorMaranBr <maranbr@outlook.com>2026-02-12 00:23:19 +0100
committercrueter <crueter@eden-emu.dev>2026-02-12 00:23:19 +0100
commit5f676a6a55aa4d748e545b0fc6956e9a5dbd2f7f (patch)
treec6771e1dbfc36e0ab0236f69275454542585e7be /src/qt_common/config/shared_translation.cpp
parent2ab5b37137c1e1aa8e96d93bd0992aee872de44c (diff)
[vulkan] Add support for target FPS frame pacing (#3494)
This allows users to choose how the emulator manages frame pacing to reduce stuttering and provide a smoother and more consistent frame rate. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3494 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
Diffstat (limited to 'src/qt_common/config/shared_translation.cpp')
-rw-r--r--src/qt_common/config/shared_translation.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/qt_common/config/shared_translation.cpp b/src/qt_common/config/shared_translation.cpp
index 404685b36c..225cdcd10e 100644
--- a/src/qt_common/config/shared_translation.cpp
+++ b/src/qt_common/config/shared_translation.cpp
@@ -225,6 +225,8 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* parent)
"intermediate format: RGBA8.\n"
"BC1/BC3: The intermediate format will be recompressed to BC1 or BC3 format,\n"
" saving VRAM but degrading image quality."));
+ INSERT(Settings, frame_pacing_mode, tr("Frame Pacing Mode (Vulkan only)"),
+ tr("Controls how the emulator manages frame pacing to reduce stuttering and make the frame rate smoother and more consistent."));
INSERT(Settings,
vram_usage_mode,
tr("VRAM Usage Mode:"),
@@ -502,6 +504,14 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QObject* parent)
PAIR(AstcRecompression, Bc1, tr("BC1 (Low quality)")),
PAIR(AstcRecompression, Bc3, tr("BC3 (Medium quality)")),
}});
+ translations->insert({Settings::EnumMetadata<Settings::FramePacingMode>::Index(),
+ {
+ PAIR(FramePacingMode, Target_Auto, tr("Auto")),
+ PAIR(FramePacingMode, Target_30, tr("30 FPS")),
+ PAIR(FramePacingMode, Target_60, tr("60 FPS")),
+ PAIR(FramePacingMode, Target_120, tr("120 FPS")),
+ PAIR(FramePacingMode, Target_240, tr("240 FPS")),
+ }});
translations->insert({Settings::EnumMetadata<Settings::VramUsageMode>::Index(),
{
PAIR(VramUsageMode, Conservative, tr("Conservative")),