mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #4038] [MERGED] Lib.GnmDriver: Fix flip arg for sceGnmSubmitAndFlipCommandBuffers #3890
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3890
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/4038
Author: @StevenMiller123
Created: 2/15/2026
Status: ✅ Merged
Merged: 2/15/2026
Merged by: @georgemoralis
Base:
main← Head:fix-flip-arg📝 Commits (3)
2d2bcfdThere is a mountain of evidence suggesting that flip_arg for these functions should be a 64-bit integer.ff13729oopse75d796Fix sceVideoOutGetEventData📊 Changes
4 files changed (+9 additions, -9 deletions)
View changed files
📝
src/core/libraries/gnmdriver/gnmdriver.cpp(+3 -3)📝
src/core/libraries/gnmdriver/gnmdriver.h(+2 -2)📝
src/core/libraries/videoout/video_out.cpp(+3 -3)📝
src/core/libraries/videoout/video_out.h(+1 -1)📄 Description
Based on some wacky crap Unity does, these functions appear to take a 64-bit value for the flip arg.
Fixing this, along with a bug in sceVideoOutGetEventData, fixes the handful of Unity games crashing on an exception in their GfxFlipThread after a sceKernelAllocateDirectMemory call fails.
This fixes crashing in:
Based on what I know, this should also fix issues in:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.