[PR #2614] [CLOSED] Unified Memory Allocation #2861

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2614
Author: @diegolix29
Created: 3/7/2025
Status: Closed

Base: mainHead: Dynamic-Memory-Allocation


📝 Commits (3)

  • 5c87aa3 Calling Memory expansion when a game needs it
  • 703fe84 Unified Memory Allocation WIP
  • d69b675 Adding 1.5 * memory same as Ps4 allocates when asking for more ram

📊 Changes

3 files changed (+45 additions, -14 deletions)

View changed files

📝 src/core/libraries/kernel/memory.cpp (+15 -4)
📝 src/core/libraries/kernel/memory.h (+4 -2)
📝 src/core/memory.h (+26 -8)

📄 Description

Allow a game to expand memory when needs it implementing a basic way for a game to call for more memory in a dynamic way.

Makes Shadow Returns CUSA28615 get ingame.

image

image

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/2614 **Author:** [@diegolix29](https://github.com/diegolix29) **Created:** 3/7/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `Dynamic-Memory-Allocation` --- ### 📝 Commits (3) - [`5c87aa3`](https://github.com/shadps4-emu/shadPS4/commit/5c87aa346beb62c55054ad0dcc178524ac3cd736) Calling Memory expansion when a game needs it - [`703fe84`](https://github.com/shadps4-emu/shadPS4/commit/703fe8410e63607c7e9152498586428ebe012aa1) Unified Memory Allocation WIP - [`d69b675`](https://github.com/shadps4-emu/shadPS4/commit/d69b6758fef19313c8a7e07166dbee26c867a354) Adding 1.5 * memory same as Ps4 allocates when asking for more ram ### 📊 Changes **3 files changed** (+45 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/memory.cpp` (+15 -4) 📝 `src/core/libraries/kernel/memory.h` (+4 -2) 📝 `src/core/memory.h` (+26 -8) </details> ### 📄 Description Allow a game to expand memory when needs it implementing a basic way for a game to call for more memory in a dynamic way. Makes Shadow Returns CUSA28615 get ingame. ![image](https://github.com/user-attachments/assets/d0ee3b85-8885-4ae7-a0ed-32100c7d0cd2) ![image](https://github.com/user-attachments/assets/0d15e759-6935-4fb7-b67d-b386b264824d) ![image](https://github.com/user-attachments/assets/2034af79-9b5a-4432-9619-9511980cdf70) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:01:31 +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#2861
No description provided.