[PR #2816] [MERGED] Revert libSceGnmDriver library init emulation #3002

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2816
Author: @StevenMiller123
Created: 4/20/2025
Status: Merged
Merged: 4/20/2025
Merged by: @georgemoralis

Base: mainHead: break-nba


📝 Commits (1)

  • 11d4426 Revert libSceGnmDriver initialization emulation

📊 Changes

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

View changed files

📝 src/core/linker.cpp (+0 -12)

📄 Description

Some games map memory extremely early in game code, before most modules initialize. In cases like these, if games are providing high alignments to allocation calls, they may not be able to allocate as much memory as they expect due to the misplaced SceGnmDriver allocation.
Until there's a better way to accurately emulate libSceGnmDriver's initialization, games will break.

This partial revert of https://github.com/shadps4-emu/shadPS4/pull/2807 fixes the regression in games using the GFD engine, and un-fixes NBA titles.


🔄 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/2816 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 4/20/2025 **Status:** ✅ Merged **Merged:** 4/20/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `break-nba` --- ### 📝 Commits (1) - [`11d4426`](https://github.com/shadps4-emu/shadPS4/commit/11d4426a7e99a895c2a653a578f3906db4f9028a) Revert libSceGnmDriver initialization emulation ### 📊 Changes **1 file changed** (+0 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `src/core/linker.cpp` (+0 -12) </details> ### 📄 Description Some games map memory extremely early in game code, before most modules initialize. In cases like these, if games are providing high alignments to allocation calls, they may not be able to allocate as much memory as they expect due to the misplaced SceGnmDriver allocation. Until there's a better way to accurately emulate libSceGnmDriver's initialization, games will break. This partial revert of https://github.com/shadps4-emu/shadPS4/pull/2807 fixes the regression in games using the GFD engine, and un-fixes NBA titles. --- <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:05 +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#3002
No description provided.