mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #685] [MERGED] core: Fix CPU patch stack issues #1711
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#1711
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/685
Author: @squidbus
Created: 8/31/2024
Status: ✅ Merged
Merged: 8/31/2024
Merged by: @georgemoralis
Base:
main← Head:patch-fixes📝 Commits (1)
61db246core: Fix CPU patch stack issues📊 Changes
4 files changed (+14 additions, -25 deletions)
View changed files
📝
CMakeLists.txt(+1 -1)📝
src/core/cpu_patches.cpp(+11 -19)📝
src/core/libraries/kernel/thread_management.cpp(+1 -2)📝
src/core/linker.cpp(+1 -3)📄 Description
Ran some games with address sanitizer enabled and fixed some issues that game out of final refactoring of the CPU patches updates. Note that only macOS patches use this currently.
pthread_key_createdestructor parameter for freeing patch stacks instead of a separate cleanup function that needs to be manually called.1 << 39to1 << 40since this was initially defined.Did not get any address sanitizer errors after applying these changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.