mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Disable the "Duplicate frames" feature if frameskip != 0. Works around / Fixes #13068
This commit is contained in:
1 parent
63ead85c7f
commit
df6f216056
2 files changed
+8
-2
No files matched your search
@@ -356,6 +356,9 @@ void GameSettingsScreen::CreateViews() {
|
||||
settingInfo_->Show(gr->T("RenderDuplicateFrames Tip", "Can make framerate smoother in games that run at lower framerates"), e.v);
|
||||
return UI::EVENT_CONTINUE;
|
||||
});
|
||||
frameDuplication->SetEnabledFunc([]() -> bool {
|
||||
return g_Config.iFrameSkip == 0;
|
||||
});
|
||||
|
||||
if (GetGPUBackend() == GPUBackend::VULKAN || GetGPUBackend() == GPUBackend::OPENGL) {
|
||||
static const char *bufferOptions[] = { "No buffer", "Up to 1", "Up to 2" };
|
||||
|
||||
Reference in new issue
Block a user