[PR #3194] [MERGED] video_out: Internal Resolution Support #3299

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3194
Author: @Fire-Cube
Created: 7/5/2025
Status: Merged
Merged: 7/7/2025
Merged by: @georgemoralis

Base: mainHead: internalresolution


📝 Commits (6)

📊 Changes

5 files changed (+56 additions, -25 deletions)

View changed files

📝 src/common/config.cpp (+43 -17)
📝 src/common/config.h (+8 -4)
📝 src/core/libraries/videoout/video_out.cpp (+2 -1)
📝 src/emulator.cpp (+1 -1)
📝 src/qt_gui/settings_dialog.cpp (+2 -2)

📄 Description

This PR separates the resolution of the emulator window from the one used by the shadPS4's graphics driver.
There’s a game (The Last Guardian) that uses sceVideoOutGetResolutionStatus to retrieve the resolution, which currently reflects the value stored in the config.

If you set it to 4K using a patch but the emulator window is smaller, it gets ignored due to that check.
To handle this case, I’m introducing an internal resolution that can be adjusted as needed and only affects game behavior.

I don't know if i should add a Qt config but i can do if it is the case


🔄 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/3194 **Author:** [@Fire-Cube](https://github.com/Fire-Cube) **Created:** 7/5/2025 **Status:** ✅ Merged **Merged:** 7/7/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `internalresolution` --- ### 📝 Commits (6) - [`19f266f`](https://github.com/shadps4-emu/shadPS4/commit/19f266f1627fd47d415bc7f8c313d39f066ce0dc) impl - [`7b1bad9`](https://github.com/shadps4-emu/shadPS4/commit/7b1bad93e5824d2df844215ac8ad471f7ebb08c0) clang - [`21a956f`](https://github.com/shadps4-emu/shadPS4/commit/21a956fa473e7d86d65058f0ac0d7e2b728ab959) clang+ - [`d0914ea`](https://github.com/shadps4-emu/shadPS4/commit/d0914ea0e4d197ff09a97925d6655be01f2df318) rebase - [`41b709f`](https://github.com/shadps4-emu/shadPS4/commit/41b709ff606dc6477ab083df43e995224248d0f0) update total_entries too - [`a718e34`](https://github.com/shadps4-emu/shadPS4/commit/a718e3493a5e98cb69ab4ec85e8df52c3a477400) rebased another time ### 📊 Changes **5 files changed** (+56 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+43 -17) 📝 `src/common/config.h` (+8 -4) 📝 `src/core/libraries/videoout/video_out.cpp` (+2 -1) 📝 `src/emulator.cpp` (+1 -1) 📝 `src/qt_gui/settings_dialog.cpp` (+2 -2) </details> ### 📄 Description This PR separates the resolution of the emulator window from the one used by the shadPS4's graphics driver. There’s a game (The Last Guardian) that uses sceVideoOutGetResolutionStatus to retrieve the resolution, which currently reflects the value stored in the config. If you set it to 4K using a patch but the emulator window is smaller, it gets ignored due to that check. To handle this case, I’m introducing an internal resolution that can be adjusted as needed and only affects game behavior. I don't know if i should add a Qt config but i can do if it is the case --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:11 +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#3299
No description provided.