[PR #328] [MERGED] fix tls patch on windows #1486

Closed
opened 2026-02-27 21:12:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/328
Author: @viniciuslrangel
Created: 7/27/2024
Status: Merged
Merged: 7/27/2024
Merged by: @raphaelthegreat

Base: mainHead: fix-tls-on-windows


📝 Commits (2)

  • f68e2db fix tls patch on windows
  • 57d974c fix tls patch on windows for expansion slots

📊 Changes

1 file changed (+12 additions, -8 deletions)

View changed files

📝 src/core/cpu_patches.cpp (+12 -8)

📄 Description

Based on TlsGetValue asm from kernel32.dll

Was testing some games and found this patch was not valid (crashing)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/328 **Author:** [@viniciuslrangel](https://github.com/viniciuslrangel) **Created:** 7/27/2024 **Status:** ✅ Merged **Merged:** 7/27/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `fix-tls-on-windows` --- ### 📝 Commits (2) - [`f68e2db`](https://github.com/shadps4-emu/shadPS4/commit/f68e2dbd6c8768b5e4cf220941ce2be6501646b8) fix tls patch on windows - [`57d974c`](https://github.com/shadps4-emu/shadPS4/commit/57d974c4b31bc518f83d2e2e3234cda77c90f44d) fix tls patch on windows for expansion slots ### 📊 Changes **1 file changed** (+12 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/core/cpu_patches.cpp` (+12 -8) </details> ### 📄 Description Based on TlsGetValue asm from kernel32.dll Was testing some games and found this patch was not valid (crashing) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1486
No description provided.