making init func work on load sysmodules.

This commit is contained in:
Dmugetsu 2025-04-21 06:04:42 -06:00
parent 69777e2ffa
commit 5aae4f63ec

View File

@ -311,7 +311,9 @@ void Emulator::LoadSystemModules(const std::string& game_serial) {
if (it != found_modules.end()) {
LOG_INFO(Loader, "Loading {}", it->string());
if (linker->LoadModule(*it) != -1) {
continue;
if (init_func) {
init_func();
}
}
}
if (init_func) {