[PR #2940] [MERGED] Implement sceKernelMapDirectMemory2 #3097

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

📋 Pull Request Information

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

Base: mainHead: mapdmem2


📝 Commits (3)

📊 Changes

3 files changed (+29 additions, -0 deletions)

View changed files

📝 src/core/libraries/kernel/memory.cpp (+14 -0)
📝 src/core/memory.cpp (+13 -0)
📝 src/core/memory.h (+2 -0)

📄 Description

Behaves similarly to sceKernelMapDirectMemory, but supplies a memory type parameter.
To handle this, I've added a SetDirectMemoryType function to our MemoryManager.

I believe this has shown up in logs before, but I don't recall what specific titles used it.


🔄 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/2940 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 5/16/2025 **Status:** ✅ Merged **Merged:** 5/16/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `mapdmem2` --- ### 📝 Commits (3) - [`0a3ca05`](https://github.com/shadps4-emu/shadPS4/commit/0a3ca050e4c73b83a0d00cf474f68addeda1a959) Implement sceKernelMapDirectMemory2 - [`871804b`](https://github.com/shadps4-emu/shadPS4/commit/871804b70b073149eb12cc4490b16c1bb1c6522a) Simplify - [`b0fc608`](https://github.com/shadps4-emu/shadPS4/commit/b0fc6084dabdb46e122f5f3717d1eb8c5418aa8a) Clang ### 📊 Changes **3 files changed** (+29 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/memory.cpp` (+14 -0) 📝 `src/core/memory.cpp` (+13 -0) 📝 `src/core/memory.h` (+2 -0) </details> ### 📄 Description Behaves similarly to sceKernelMapDirectMemory, but supplies a memory type parameter. To handle this, I've added a SetDirectMemoryType function to our MemoryManager. I believe this has shown up in logs before, but I don't recall what specific titles used it. --- <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:26 +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#3097
No description provided.