IOP Recompiler: Fix BIOS trace logging on 64bit

This commit is contained in:
Ziemas 2021-10-08 16:56:56 +02:00 committed by lightningterror
parent 1b31eb9e4a
commit 45bb57a38c
1 changed files with 6 additions and 1 deletions

View File

@ -574,7 +574,12 @@ static void psxRecompileIrxImport()
if (SysTraceActive(IOP.Bios))
{
xPUSH((uptr)funcname);
#ifdef __M_X86_64
xMOV64(arg3reg, (uptr)funcname);
#else
xPUSH((uptr)funcname);
#endif
xFastCall((void*)irxImportLog_rec, import_table, index);
}