[PR #3034] [MERGED] Core: Reduce GPU memory clamping threshold #3164

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3034
Author: @StevenMiller123
Created: 6/3/2025
Status: Merged
Merged: 6/4/2025
Merged by: @squidbus

Base: mainHead: reduce-clamp-threshold


📝 Commits (2)

  • 14bf00e Reduce clamp threshold to 2MB
  • a74b8ed Merge remote-tracking branch 'upstream/main' into reduce-clamp-threshold

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/core/memory.cpp (+1 -1)

📄 Description

A proposed alternative to #2950, which works around the non-GPU memory asserts seen in RESIDENT EVIL 2 (CUSA09193) without breaking games that already work.
This brings the game further in menus (though with broken rendering), where it ends up crashing on this:

[Debug] <Critical> vector_memory.cpp:182 operator(): Assertion Failed!
Non immediate offset not supported

image
shad_log.txt


🔄 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/3034 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 6/3/2025 **Status:** ✅ Merged **Merged:** 6/4/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `reduce-clamp-threshold` --- ### 📝 Commits (2) - [`14bf00e`](https://github.com/shadps4-emu/shadPS4/commit/14bf00eb884ce116e018a9c0a27702539c6cc574) Reduce clamp threshold to 2MB - [`a74b8ed`](https://github.com/shadps4-emu/shadPS4/commit/a74b8edca3e8d5b72650834bffd9d6937de85f7d) Merge remote-tracking branch 'upstream/main' into reduce-clamp-threshold ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/core/memory.cpp` (+1 -1) </details> ### 📄 Description A proposed alternative to #2950, which works around the non-GPU memory asserts seen in RESIDENT EVIL 2 (CUSA09193) without breaking games that already work. This brings the game further in menus (though with broken rendering), where it ends up crashing on this: ``` [Debug] <Critical> vector_memory.cpp:182 operator(): Assertion Failed! Non immediate offset not supported ``` ![image](https://github.com/user-attachments/assets/0e264d2f-7f9b-4c32-bb48-d5fcc8f246c6) [shad_log.txt](https://github.com/user-attachments/files/20580432/shad_log.txt) --- <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:41 +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#3164
No description provided.