Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOP HLE: Generate module list on release builds #10231

Merged
merged 1 commit into from
Nov 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions pcsx2/IopBios.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ namespace R3000A
R3000SymbolMap.RemoveModule(modname, version);
}

void RegisterLibraryEntries_DEBUG()
int RegisterLibraryEntries_HLE()
{
LoadFuncs(a0);

Expand All @@ -1115,11 +1115,13 @@ namespace R3000A
}

CurrentBiosInformation.iopModListAddr = GetModList(a0);
return 0;
}

void ReleaseLibraryEntries_DEBUG()
int ReleaseLibraryEntries_HLE()
{
ReleaseFuncs(a0);
return 0;
}
} // namespace loadcore

Expand Down Expand Up @@ -1240,6 +1242,10 @@ namespace R3000A
{
// debugging output
// clang-format off
MODULE(loadcore)
EXPORT_H( 6, RegisterLibraryEntries)
EXPORT_H( 7, ReleaseLibraryEntries);
END_MODULE
MODULE(sysmem)
EXPORT_H( 14, Kprintf)
END_MODULE
Expand Down Expand Up @@ -1281,10 +1287,6 @@ namespace R3000A
irxDEBUG irxImportDebug(const std::string& libname, u16 index)
{
// clang-format off
MODULE(loadcore)
EXPORT_D( 6, RegisterLibraryEntries)
EXPORT_D( 7, ReleaseLibraryEntries);
END_MODULE
MODULE(intrman)
EXPORT_D( 4, RegisterIntrHandler)
END_MODULE
Expand Down