[PR #324] [MERGED] memory: Cleanups and refactors #1482

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/324
Author: @raphaelthegreat
Created: 7/24/2024
Status: Merged
Merged: 7/25/2024
Merged by: @raphaelthegreat

Base: mainHead: some-memory


📝 Commits (8)

  • 1ef85bd memory: Various fixes
  • cb9216d Added (Partial) sceKernelBatchMap/sceKernelBatchMap2
  • 1440741 memory: Rename and implement batch unmap
  • aee2ec5 memory: Remove uneeded assert
  • 8ccd932 memory: Commonize free search routine
  • 3b45003 memory: Contains check is inclusive
  • f24ef13 memory: Address some alignment issues
  • 115956e clang format

📊 Changes

10 files changed (+198 additions, -90 deletions)

View changed files

📝 src/core/libraries/kernel/libkernel.cpp (+3 -0)
📝 src/core/libraries/kernel/memory_management.cpp (+48 -0)
📝 src/core/libraries/kernel/memory_management.h (+16 -1)
📝 src/core/libraries/kernel/thread_management.cpp (+23 -1)
📝 src/core/libraries/playgo/playgo.cpp (+1 -3)
📝 src/core/linker.cpp (+5 -1)
📝 src/core/memory.cpp (+82 -80)
📝 src/core/memory.h (+13 -3)
📝 src/emulator.cpp (+3 -1)
📝 src/shader_recompiler/backend/spirv/spirv_emit_context.cpp (+4 -0)

📄 Description

Allows Rayman Legends to go in game. Shadow of Collosus remake and P.T also progress to GPU crashes on Linux (on Windows they need partial unmap support)


🔄 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/324 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 7/24/2024 **Status:** ✅ Merged **Merged:** 7/25/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `some-memory` --- ### 📝 Commits (8) - [`1ef85bd`](https://github.com/shadps4-emu/shadPS4/commit/1ef85bd51dbae2feb56fbab7dfc806bebcf7beac) memory: Various fixes - [`cb9216d`](https://github.com/shadps4-emu/shadPS4/commit/cb9216d73fbfbc079079dc8e9f5e055a1d0e33cd) Added (Partial) sceKernelBatchMap/sceKernelBatchMap2 - [`1440741`](https://github.com/shadps4-emu/shadPS4/commit/1440741fe91954de54cc14cf805abac314f64226) memory: Rename and implement batch unmap - [`aee2ec5`](https://github.com/shadps4-emu/shadPS4/commit/aee2ec5dbc3145d15909a22a1fdea957e16fb3a4) memory: Remove uneeded assert - [`8ccd932`](https://github.com/shadps4-emu/shadPS4/commit/8ccd93293c795656a25acd5ec8dbf0a04222f569) memory: Commonize free search routine - [`3b45003`](https://github.com/shadps4-emu/shadPS4/commit/3b45003468efd6490b3c8303b66418748313a575) memory: Contains check is inclusive - [`f24ef13`](https://github.com/shadps4-emu/shadPS4/commit/f24ef137090e541757f04294c1e28d41bf3d7f35) memory: Address some alignment issues - [`115956e`](https://github.com/shadps4-emu/shadPS4/commit/115956e7161092ed9f78af2b5b03e01e83c4fec0) clang format ### 📊 Changes **10 files changed** (+198 additions, -90 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/libkernel.cpp` (+3 -0) 📝 `src/core/libraries/kernel/memory_management.cpp` (+48 -0) 📝 `src/core/libraries/kernel/memory_management.h` (+16 -1) 📝 `src/core/libraries/kernel/thread_management.cpp` (+23 -1) 📝 `src/core/libraries/playgo/playgo.cpp` (+1 -3) 📝 `src/core/linker.cpp` (+5 -1) 📝 `src/core/memory.cpp` (+82 -80) 📝 `src/core/memory.h` (+13 -3) 📝 `src/emulator.cpp` (+3 -1) 📝 `src/shader_recompiler/backend/spirv/spirv_emit_context.cpp` (+4 -0) </details> ### 📄 Description Allows Rayman Legends to go in game. Shadow of Collosus remake and P.T also progress to GPU crashes on Linux (on Windows they need partial unmap support) --- <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#1482
No description provided.