[PR #3044] [MERGED] libSceVideoOut: Proper sceVideoOutGetResolutionStatus error behavior #3173

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3044
Author: @StevenMiller123
Created: 6/5/2025
Status: Merged
Merged: 6/5/2025
Merged by: @squidbus

Base: mainHead: videoout-fixes


📝 Commits (1)

  • 5e796b6 sceVideoOutGetResolutionStatus error behavior

📊 Changes

1 file changed (+6 additions, -1 deletions)

View changed files

📝 src/core/libraries/videoout/video_out.cpp (+6 -1)

📄 Description

When the provided VideoOut port hasn't been opened, sceVideoOutGetResolutionStatus should return ORBIS_VIDEO_OUT_ERROR_INVALID_HANDLE.

Handling this properly fixes a crash in The Sims 4 (CUSA09216).


🔄 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/3044 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 6/5/2025 **Status:** ✅ Merged **Merged:** 6/5/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `videoout-fixes` --- ### 📝 Commits (1) - [`5e796b6`](https://github.com/shadps4-emu/shadPS4/commit/5e796b65c7850ca4ba55bfb1eb7a61c53a71b360) sceVideoOutGetResolutionStatus error behavior ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/videoout/video_out.cpp` (+6 -1) </details> ### 📄 Description When the provided VideoOut port hasn't been opened, `sceVideoOutGetResolutionStatus` should return `ORBIS_VIDEO_OUT_ERROR_INVALID_HANDLE`. Handling this properly fixes a crash in The Sims 4 (CUSA09216). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:43 +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#3173
No description provided.