Skip to content

Lib.VideoOut: Properly clear handle data on sceVideoOutClose#4339

Merged
squidbus merged 1 commit intoshadps4-emu:mainfrom
StevenMiller123:videoout-close-fix
Apr 30, 2026
Merged

Lib.VideoOut: Properly clear handle data on sceVideoOutClose#4339
squidbus merged 1 commit intoshadps4-emu:mainfrom
StevenMiller123:videoout-close-fix

Conversation

@StevenMiller123
Copy link
Copy Markdown
Collaborator

Previously, sceVideoOutClose was just marking the port as unopened, and resetting flip rate and previous index values. In Monster Hunter: World, with neo mode enabled and the game set to "Prioritize Resolution", the game goes through initial splash screens at 1080p, then closes the current video out handle. It then reruns the full video out handle setup, this time setting buffers to 1800p.

Since sceVideoOutClose wasn't clearing the handle data properly, the attempt to register 1800p buffers would return an error, and further flip attempts fail.

With this PR, Monster Hunter: World can reach menus with neo-mode enabled and the game set to "Prioritize Resolution". At least, it does after running the game enough times to bypass savedata-related hangs.
image

@squidbus squidbus merged commit 1956b79 into shadps4-emu:main Apr 30, 2026
11 checks passed
@StevenMiller123 StevenMiller123 deleted the videoout-close-fix branch May 1, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants