mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #1659] [MERGED] The way to Unity, pt.1 #2227
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#2227
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/1659
Author: @polybiusproxy
Created: 12/3/2024
Status: ✅ Merged
Merged: 12/5/2024
Merged by: @polybiusproxy
Base:
main← Head:unity-pt1📝 Commits (1)
30d78a0The way to Unity, pt.1📊 Changes
8 files changed (+563 additions, -28 deletions)
View changed files
📝
src/common/ntapi.cpp(+6 -0)📝
src/common/ntapi.h(+415 -2)📝
src/core/libraries/kernel/threads/pthread.cpp(+30 -1)📝
src/core/libraries/kernel/threads/pthread.h(+1 -1)📝
src/core/memory.cpp(+5 -5)📝
src/core/thread.cpp(+91 -11)📝
src/core/thread.h(+14 -7)📝
src/video_core/amdgpu/liverpool.cpp(+1 -1)📄 Description
This PR is the first of a series of changes with the main goal of getting Unity (and some FNA/MonoGame) games to boot on Windows:
CreateThreaddoes not set the stack as we want so we have to ditch it in favor of the kernel counterpartNtCreateThread—fixes crashes on Unity games.This should now bring Unity games back to a softlock due to missing exception support.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.