mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #213] [MERGED] A better stub for trophies #1399
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#1399
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/213
Author: @psucien
Created: 6/25/2024
Status: ✅ Merged
Merged: 6/25/2024
Merged by: @georgemoralis
Base:
main← Head:hle/trophies📝 Commits (5)
8475a62common:Commonnamespace for the slot vector containeracc4ef7common: slot_vector: addedis_allocatedto check if the slot already existsff64dd7libraries: trophy: a better stubs implementation3b2a312kernel: thread_management: silence compilation warning9b3a894fix for Linux build📊 Changes
9 files changed (+92 additions, -23 deletions)
View changed files
📝
src/common/slot_vector.h(+9 -5)📝
src/core/libraries/error_codes.h(+7 -0)📝
src/core/libraries/gnmdriver/gnmdriver.cpp(+1 -1)📝
src/core/libraries/kernel/thread_management.cpp(+1 -0)📝
src/core/libraries/np_trophy/np_trophy.cpp(+64 -8)📝
src/core/libraries/np_trophy/np_trophy.h(+5 -4)📝
src/video_core/texture_cache/image.h(+1 -1)📝
src/video_core/texture_cache/texture_cache.h(+2 -2)📝
src/video_core/texture_cache/types.h(+2 -2)📄 Description
With the existing implementation, when a guest app tries to obtain a handler, we return a handle allocation error. These changes mock correct handle and context allocation, since some of the games rely on a valid state of trophies system.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.