[TRACE] Fixed FF 25 opcode not decoding destination correctly in trace

This commit is contained in:
ptitSeb 2023-08-19 17:22:02 +02:00
parent 9e7225be36
commit 4bd00b0f91

View File

@ -1103,7 +1103,7 @@ void PrintTrace(x64emu_t* emu, uintptr_t ip, int dynarec)
printFunctionAddr(nextaddr, "=> ");
} else if(peek==0xFF) {
if(PK(1)==0x25) {
uintptr_t nextaddr = ip + 6 + PK32(2);
uintptr_t nextaddr = *(uintptr_t*)(ip + 6 + PK32(2));
if(!printFunctionAddr(nextaddr, "=> "))
printf_log(LOG_NONE, " => %p", (void*)nextaddr);
} else if((PK(1)==0x14) && (PK(2)==0x25)) {