[PR #3050] [MERGED] Improved sceKernelMapNamedFlexibleMemory logging #3177

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3050
Author: @StevenMiller123
Created: 6/7/2025
Status: Merged
Merged: 6/7/2025
Merged by: @georgemoralis

Base: mainHead: mem-log-improve


📝 Commits (4)

📊 Changes

4 files changed (+17 additions, -16 deletions)

View changed files

📝 src/core/libraries/kernel/kernel.cpp (+4 -0)
📝 src/core/libraries/kernel/memory.cpp (+9 -12)
📝 src/core/libraries/kernel/memory.h (+3 -4)
📝 src/core/libraries/kernel/threads/mutex.cpp (+1 -0)

📄 Description

Using SCOPE_EXIT with log calls messes up the function name that gets logged, which makes it difficult to identify when sceKernelMapNamedFlexibleMemory is used through logs.
This PR changes the relevant logs to more closely match how we log sceKernelMapNamedDirectMemory calls.

I've also added some function exports for some stubs that showed up in a recent Overwatch: Origins Edition compatibility report.


🔄 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/3050 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 6/7/2025 **Status:** ✅ Merged **Merged:** 6/7/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `mem-log-improve` --- ### 📝 Commits (4) - [`f8bc40b`](https://github.com/shadps4-emu/shadPS4/commit/f8bc40b4ad9f4a51f6d889f9a8a3d71e83dfb3e0) More descriptive sceKernelMapNamedFlexibleMemory logging - [`d42ed3b`](https://github.com/shadps4-emu/shadPS4/commit/d42ed3bd3ff9645b638091494e71e01a39b2c54a) Misc exports - [`6dc9c45`](https://github.com/shadps4-emu/shadPS4/commit/6dc9c451b609897370d0c2b301efb0231ff9c421) Clang - [`2a63cea`](https://github.com/shadps4-emu/shadPS4/commit/2a63ceaa5a2f450e37c8886f5333aa8b0f5028b8) Function parameter cleanup ### 📊 Changes **4 files changed** (+17 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/kernel.cpp` (+4 -0) 📝 `src/core/libraries/kernel/memory.cpp` (+9 -12) 📝 `src/core/libraries/kernel/memory.h` (+3 -4) 📝 `src/core/libraries/kernel/threads/mutex.cpp` (+1 -0) </details> ### 📄 Description Using `SCOPE_EXIT` with log calls messes up the function name that gets logged, which makes it difficult to identify when `sceKernelMapNamedFlexibleMemory` is used through logs. This PR changes the relevant logs to more closely match how we log `sceKernelMapNamedDirectMemory` calls. I've also added some function exports for some stubs that showed up in a recent Overwatch: Origins Edition compatibility report. --- <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:44 +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#3177
No description provided.