[PR #2541] [MERGED] libkernel: improve module finding in sceKernelLoadStartModule #2813

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2541
Author: @panzone91
Created: 2/25/2025
Status: Merged
Merged: 3/9/2025
Merged by: @georgemoralis

Base: mainHead: garegga


📝 Commits (7)

📊 Changes

5 files changed (+49 additions, -29 deletions)

View changed files

📝 src/core/libraries/kernel/process.cpp (+16 -27)
📝 src/core/linker.cpp (+29 -0)
📝 src/core/linker.h (+2 -0)
📝 src/core/module.cpp (+1 -1)
📝 src/core/module.h (+1 -1)

📄 Description

This PR changes sceKernelLoadStartModule to follow its implementation in a more precise manner. It's based on the comment on a previous MR (https://github.com/shadps4-emu/shadPS4/pull/2246#issuecomment-2621075627)

This also makes Battle Garegga (https://github.com/shadps4-emu/shadps4-game-compatibility/issues/398) playable.


🔄 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/2541 **Author:** [@panzone91](https://github.com/panzone91) **Created:** 2/25/2025 **Status:** ✅ Merged **Merged:** 3/9/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `garegga` --- ### 📝 Commits (7) - [`347f6b2`](https://github.com/shadps4-emu/shadPS4/commit/347f6b268d50eeecc75c72a6a476f0be0d45e16c) libkernel: improve module finding in sceKernelLoadStartModule - [`96c5f3a`](https://github.com/shadps4-emu/shadPS4/commit/96c5f3a66a0cc6e5b6b1f1c56ae041f8abda639d) clang-format - [`4631b87`](https://github.com/shadps4-emu/shadPS4/commit/4631b87f0c4d5e844887fe9bc05be47b3c956f68) asserts for system module - [`0d512de`](https://github.com/shadps4-emu/shadPS4/commit/0d512de3321eb452efc8df111d1f5c4fdbfa968b) fixes - [`5a122c3`](https://github.com/shadps4-emu/shadPS4/commit/5a122c30128d9c1460497758e6811cad081a4fcb) linting - [`ff76836`](https://github.com/shadps4-emu/shadPS4/commit/ff7683602875ec23e515b89bb18f66cb77626727) cleaning - [`0885f65`](https://github.com/shadps4-emu/shadPS4/commit/0885f6575723370013da05ede5ad29d707eb34e8) fix linker impl ### 📊 Changes **5 files changed** (+49 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/process.cpp` (+16 -27) 📝 `src/core/linker.cpp` (+29 -0) 📝 `src/core/linker.h` (+2 -0) 📝 `src/core/module.cpp` (+1 -1) 📝 `src/core/module.h` (+1 -1) </details> ### 📄 Description This PR changes sceKernelLoadStartModule to follow its implementation in a more precise manner. It's based on the comment on a previous MR (https://github.com/shadps4-emu/shadPS4/pull/2246#issuecomment-2621075627) This also makes Battle Garegga (https://github.com/shadps4-emu/shadps4-game-compatibility/issues/398) playable. --- <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:21 +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#2813
No description provided.