Skip to content

Commit

Permalink
Allow load fontfuck module
Browse files Browse the repository at this point in the history
It is using custom font library.
Fix hrydgard#19111
  • Loading branch information
sum2012 committed May 7, 2024
1 parent 70394c1 commit ca9c17e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Core/HLE/sceKernelModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,10 +810,12 @@ void ImportFuncSymbol(const FuncSymbolImport &func, bool reimporting, const char
}

void ExportFuncSymbol(const FuncSymbolExport &func) {
if (FuncImportIsSyscall(func.moduleName, func.nid)) {
// HLE covers this already - let's ignore the function.
WARN_LOG(LOADER, "Ignoring func export %s/%08x, already implemented in HLE.", func.moduleName, func.nid);
return;
if (strcmp(func.moduleName, "fontfuck") == 0) {
if (FuncImportIsSyscall(func.moduleName, func.nid)) {
// HLE covers this already - let's ignore the function.
WARN_LOG(LOADER, "Ignoring func export %s/%08x, already implemented in HLE.", func.moduleName, func.nid);
return;
}
}

u32 error;
Expand Down

0 comments on commit ca9c17e

Please sign in to comment.