[PR #3646] [MERGED] Memory: Implement sceKernelMemoryPoolGetBlockStats #3631

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3646
Author: @StevenMiller123
Created: 9/24/2025
Status: Merged
Merged: 9/24/2025
Merged by: @squidbus

Base: mainHead: get-block-stats


📝 Commits (2)

  • bfea8cb Implement sceKernelMemoryPoolGetBlockStats
  • b913a3f Fix comment

📊 Changes

4 files changed (+49 additions, -0 deletions)

View changed files

📝 src/core/libraries/kernel/memory.cpp (+18 -0)
📝 src/core/libraries/kernel/memory.h (+8 -0)
📝 src/core/memory.cpp (+21 -0)
📝 src/core/memory.h (+2 -0)

📄 Description

This PR implements sceKernelMemoryPoolGetBlockStats, based on a mix of kernel decompilation and hardware testing. Some logic wasn't entirely clear to me, so I've left a warning log in case this function is seen in other titles and needs further work.

Implementing this function improves Fall Guys (CUSA29236), the game now hangs at a loading screen (though it probably gets further on Linux, this is a Unity game after all)
image


🔄 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/3646 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 9/24/2025 **Status:** ✅ Merged **Merged:** 9/24/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `get-block-stats` --- ### 📝 Commits (2) - [`bfea8cb`](https://github.com/shadps4-emu/shadPS4/commit/bfea8cb0902f660f3a7a09ce30aa9351a3148f1e) Implement sceKernelMemoryPoolGetBlockStats - [`b913a3f`](https://github.com/shadps4-emu/shadPS4/commit/b913a3fa3b4375e607af03c57ba6d54f48892cf2) Fix comment ### 📊 Changes **4 files changed** (+49 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/memory.cpp` (+18 -0) 📝 `src/core/libraries/kernel/memory.h` (+8 -0) 📝 `src/core/memory.cpp` (+21 -0) 📝 `src/core/memory.h` (+2 -0) </details> ### 📄 Description This PR implements sceKernelMemoryPoolGetBlockStats, based on a mix of kernel decompilation and hardware testing. Some logic wasn't entirely clear to me, so I've left a warning log in case this function is seen in other titles and needs further work. Implementing this function improves Fall Guys (CUSA29236), the game now hangs at a loading screen (though it probably gets further on Linux, this is a Unity game after all) <img width="1922" height="1112" alt="image" src="https://github.com/user-attachments/assets/7bfe9d46-2f26-4b5f-b6a1-7bb32934f971" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:25 +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#3631
No description provided.