[PR #202] [MERGED] core: Address a few more regressions #1390

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/202
Author: @raphaelthegreat
Created: 6/15/2024
Status: Merged
Merged: 6/15/2024
Merged by: @raphaelthegreat

Base: mainHead: regs-are-bad


📝 Commits (6)

  • a9e5432 tls: Actaully fix TLS on linux
  • 54721d7 emulator: Remove nptoolkit
  • 7577bd4 kernel: Back to SCHED_OTHER
  • a641a34 kernel: Remove unused signal function
  • 736b451 address_space: Fix Unmap call on linux
  • d0c3ce6 clang format

📊 Changes

8 files changed (+23 additions, -72 deletions)

View changed files

📝 src/core/address_space.cpp (+1 -1)
📝 src/core/libraries/kernel/libkernel.cpp (+1 -12)
📝 src/core/libraries/kernel/thread_management.cpp (+9 -17)
📝 src/core/libraries/kernel/thread_management.h (+0 -31)
📝 src/core/libraries/libs.h (+1 -1)
📝 src/core/libraries/usbd/usbd.cpp (+1 -1)
📝 src/core/tls.cpp (+10 -8)
📝 src/emulator.cpp (+0 -1)

📄 Description

  • Actually fix TLS on linux (third time's the charm)
  • Force scheduling to SCHED_FIFO again

    Real time policies need appropriate sched params and the ones in PS4 don't match Linux so it causes functions to error out and guest games don't like that. Revisit it later.

  • Fix incorrect Unmap function in Linux

🔄 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/202 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 6/15/2024 **Status:** ✅ Merged **Merged:** 6/15/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `regs-are-bad` --- ### 📝 Commits (6) - [`a9e5432`](https://github.com/shadps4-emu/shadPS4/commit/a9e54320b9e31b8f28fa628603abdbf724e1cb78) tls: Actaully fix TLS on linux - [`54721d7`](https://github.com/shadps4-emu/shadPS4/commit/54721d756540110cf8bb568702114bb6f0da8d95) emulator: Remove nptoolkit - [`7577bd4`](https://github.com/shadps4-emu/shadPS4/commit/7577bd4e77cf438f28a6693b34b41cbec4c784ad) kernel: Back to SCHED_OTHER - [`a641a34`](https://github.com/shadps4-emu/shadPS4/commit/a641a343b216d7a2ec9b5c65bb0879260288b362) kernel: Remove unused signal function - [`736b451`](https://github.com/shadps4-emu/shadPS4/commit/736b451f828836f1b055d0eac9d966244bfcf793) address_space: Fix Unmap call on linux - [`d0c3ce6`](https://github.com/shadps4-emu/shadPS4/commit/d0c3ce641380a1f59c56372e2dca54b3e82227fb) clang format ### 📊 Changes **8 files changed** (+23 additions, -72 deletions) <details> <summary>View changed files</summary> 📝 `src/core/address_space.cpp` (+1 -1) 📝 `src/core/libraries/kernel/libkernel.cpp` (+1 -12) 📝 `src/core/libraries/kernel/thread_management.cpp` (+9 -17) 📝 `src/core/libraries/kernel/thread_management.h` (+0 -31) 📝 `src/core/libraries/libs.h` (+1 -1) 📝 `src/core/libraries/usbd/usbd.cpp` (+1 -1) 📝 `src/core/tls.cpp` (+10 -8) 📝 `src/emulator.cpp` (+0 -1) </details> ### 📄 Description * Actually fix TLS on linux (third time's the charm) * Force scheduling to SCHED_FIFO again > Real time policies need appropriate sched params and the ones in PS4 don't match Linux so it causes functions to error out and guest games don't like that. Revisit it later. * Fix incorrect Unmap function in Linux --- <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:21 +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#1390
No description provided.