[PR #2825] [CLOSED] making init func work after load modules #3008

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2825
Author: @diegolix29
Created: 4/21/2025
Status: Closed

Base: mainHead: init-func


📝 Commits (5)

  • 5aae4f6 making init func work on load sysmodules.
  • a98ad08 adding the linker i missed before
  • 5844372 men im blind this is how it should be
  • 4057282 adding logger
  • a63e264 Ensuring HLE only gets initialize if the LLE fails to load

📊 Changes

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

View changed files

📝 src/emulator.cpp (+12 -7)

📄 Description

right now it seems init func is not working properly, this helps init func to be able to pass any custom sycalls or anything similar and ensure any customization gets invoked after loading the module adding a check and simplifying it a bit.


🔄 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/2825 **Author:** [@diegolix29](https://github.com/diegolix29) **Created:** 4/21/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `init-func` --- ### 📝 Commits (5) - [`5aae4f6`](https://github.com/shadps4-emu/shadPS4/commit/5aae4f63ec827d71e27b4a6451c130cb92f128c6) making init func work on load sysmodules. - [`a98ad08`](https://github.com/shadps4-emu/shadPS4/commit/a98ad08c0e343b97b09b66eb8f8a5bfe0b435674) adding the linker i missed before - [`5844372`](https://github.com/shadps4-emu/shadPS4/commit/5844372bd9461643834728d1c0f4a7d9fc90a7b5) men im blind this is how it should be - [`4057282`](https://github.com/shadps4-emu/shadPS4/commit/4057282706e9e47a55768c6c4ff91d6650a4486d) adding logger - [`a63e264`](https://github.com/shadps4-emu/shadPS4/commit/a63e264e281970711b2cde7c74522e1639ab0f8a) Ensuring HLE only gets initialize if the LLE fails to load ### 📊 Changes **1 file changed** (+12 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/emulator.cpp` (+12 -7) </details> ### 📄 Description right now it seems init func is not working properly, this helps init func to be able to pass any custom sycalls or anything similar and ensure any customization gets invoked after loading the module adding a check and simplifying it a bit. --- <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:06 +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#3008
No description provided.