[PR #3527] [CLOSED] Allow for custom framerate caps #3543

Closed
opened 2026-02-27 22:04:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3527
Author: @UltraDaCat
Created: 9/5/2025
Status: Closed

Base: mainHead: custom-fps-cap


📝 Commits (10+)

📊 Changes

4 files changed (+58 additions, -16 deletions)

View changed files

📝 src/common/config.cpp (+12 -0)
📝 src/common/config.h (+2 -0)
📝 src/core/devtools/widget/frame_graph.cpp (+7 -1)
📝 src/core/libraries/videoout/driver.cpp (+37 -15)

📄 Description

This addresses issue #2168. To adjust the FPS limit you need to change it through the config file. The default value is 60. Vblank takes priority, so if you want to cap a 60FPS game to 144 you'll also need to increase Vblank to at least 3. QT stuff was scrapped due to the planned QT launcher separation.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3527 **Author:** [@UltraDaCat](https://github.com/UltraDaCat) **Created:** 9/5/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `custom-fps-cap` --- ### 📝 Commits (10+) - [`a981147`](https://github.com/shadps4-emu/shadPS4/commit/a981147d50741cb4e50247ce26ff8ef948c29cf4) Update config.cpp - [`16a3782`](https://github.com/shadps4-emu/shadPS4/commit/16a3782b67a73c8c51cf298c9008c6ec7b2a8234) Update config.h - [`e959eb9`](https://github.com/shadps4-emu/shadPS4/commit/e959eb97fcd6740801305a89865270f059773546) Update frame_graph.cpp - [`fe59bcd`](https://github.com/shadps4-emu/shadPS4/commit/fe59bcd6c3f0feb92c18cbc3a17c7a0b2af429a5) Update driver.cpp - [`efcb596`](https://github.com/shadps4-emu/shadPS4/commit/efcb5969693d82b23ba08c6c88dd6aa7a251b472) Update settings_dialog.cpp - [`6a54095`](https://github.com/shadps4-emu/shadPS4/commit/6a540958aa5a8c710c6b67a3d67b4b4bfdd64fca) Update gui_settings.h - [`8c9e78c`](https://github.com/shadps4-emu/shadPS4/commit/8c9e78c72e3bd3f0db0fb1889c29f5dc4d5f2051) Update settings_dialog.ui - [`e7c336c`](https://github.com/shadps4-emu/shadPS4/commit/e7c336cf18429918e20586ed446626463d3d7521) Update settings_dialog.h - [`2d05e58`](https://github.com/shadps4-emu/shadPS4/commit/2d05e58b9fa86791ee7866bdb16a98cf2f1bc8e0) Update settings_dialog.cpp - [`0cf6342`](https://github.com/shadps4-emu/shadPS4/commit/0cf63429edb3a3980ae3ea60058f8bb522016f8c) revert settings_dialog.ui ### 📊 Changes **4 files changed** (+58 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+12 -0) 📝 `src/common/config.h` (+2 -0) 📝 `src/core/devtools/widget/frame_graph.cpp` (+7 -1) 📝 `src/core/libraries/videoout/driver.cpp` (+37 -15) </details> ### 📄 Description This addresses issue [#2168](https://github.com/shadps4-emu/shadPS4/issues/2168). To adjust the FPS limit you need to change it through the config file. The default value is 60. Vblank takes priority, so if you want to cap a 60FPS game to 144 you'll also need to increase Vblank to at least 3. QT stuff was scrapped due to the planned QT launcher separation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3543
No description provided.