mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #1839] [MERGED] equeue: Implement sceGnmGetEqEventType/sceKernelGetEventData #2338
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#2338
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/1839
Author: @Nenkai
Created: 12/21/2024
Status: ✅ Merged
Merged: 12/27/2024
Merged by: @raphaelthegreat
Base:
main← Head:equeue📝 Commits (1)
07f2f22equeue: sceGnmGetEqEventType/sceKernelGetEventData impl📊 Changes
4 files changed (+51 additions, -22 deletions)
View changed files
📝
src/core/libraries/gnmdriver/gnmdriver.cpp(+25 -12)📝
src/core/libraries/gnmdriver/gnmdriver.h(+1 -1)📝
src/core/libraries/kernel/equeue.cpp(+17 -6)📝
src/core/libraries/kernel/equeue.h(+8 -3)📄 Description
This PR implements
sceGnmGetEqEventTypeandsceKernelGetEventData(called from the former, based on module research).Games are normally expected to call
sceGnmGetEqEventTypeto get the type of Eq/GraphicCore events returned fromsceKernelWaitEqueue. Since this was not yet implemented, some games that would wait on aGfxEopevent before rendering would permanently softlock.Furthermore, equeue events are uniquely identified by ident and filter. Some code paths such as
AddEventwere not checking on this.Addresses a softlock in CUSA02168 (Gran Turismo Sport), CUSA24767 (Gran Turismo 7).
Needs testing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.