mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-26 16:59:35 -04:00
fix: fix code gen function parameters call
This commit is contained in:
@@ -37,7 +37,7 @@ namespace ps2recomp
|
||||
Symbol *sym = findSymbolByAddress(target);
|
||||
if (sym && sym->isFunction)
|
||||
{
|
||||
ss << " " << sym->name << "(rdram, ctx); return;\n";
|
||||
ss << " " << sym->name << "(rdram, ctx, runtime); return;\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -169,7 +169,7 @@ namespace ps2recomp
|
||||
|
||||
if (sym && sym->isFunction)
|
||||
{
|
||||
targetAction = fmt::format("{}(rdram, ctx); return;", sym->name);
|
||||
targetAction = fmt::format("{}(rdram, ctx, runtime); return;", sym->name);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user