[PR #2909] [MERGED] libkernel: Implement sceKernelMemoryPoolBatch #3072

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2909
Author: @StevenMiller123
Created: 5/11/2025
Status: Merged
Merged: 5/12/2025
Merged by: @squidbus

Base: mainHead: memory-pool-batches


📝 Commits (2)

📊 Changes

2 files changed (+98 additions, -0 deletions)

View changed files

📝 src/core/libraries/kernel/memory.cpp (+54 -0)
📝 src/core/libraries/kernel/memory.h (+44 -0)

📄 Description

Implements sceKernelMemoryPoolBatch based on hardware tests and our sceKernelBatchMap implementation.

I've tested the Commit and Decommit opcodes on real hardware through homebrew, Protect and TypeProtect are currently untested.

This is reportedly used in DAYS GONE (CUSA09176), I'll need @gandalfthewhite19890404 to test that title for me.


🔄 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/2909 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 5/11/2025 **Status:** ✅ Merged **Merged:** 5/12/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `memory-pool-batches` --- ### 📝 Commits (2) - [`6217ced`](https://github.com/shadps4-emu/shadPS4/commit/6217ced205190be2e34f769f635e6f055dca6ad9) Implement sceKernelMemoryPoolBatch - [`e46fbbd`](https://github.com/shadps4-emu/shadPS4/commit/e46fbbda0c1662ebeabed576b68855d1f26a93c4) Clang ### 📊 Changes **2 files changed** (+98 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/memory.cpp` (+54 -0) 📝 `src/core/libraries/kernel/memory.h` (+44 -0) </details> ### 📄 Description Implements sceKernelMemoryPoolBatch based on hardware tests and our sceKernelBatchMap implementation. I've tested the Commit and Decommit opcodes on real hardware through homebrew, Protect and TypeProtect are currently untested. This is reportedly used in DAYS GONE (CUSA09176), I'll need @gandalfthewhite19890404 to test that title for me. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:20 +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#3072
No description provided.