PowerPC/PPCTables: Pass instruction address to GetOpInfo().

This commit is contained in:
Admiral H. Curtiss committed 2023-04-05 20:09:32 +02:00
1 parent 6018daa3fa
commit e5941428d1
7 files changed
+23 -25

No files matched your search

+1 -1
View File
@@ -297,7 +297,7 @@ void JitInterface::CompileExceptionCheck(ExceptionType type)
// Check in case the code has been replaced since: do we need to do this?
const OpType optype =
PPCTables::GetOpInfo(PowerPC::MMU::HostRead_U32(guard, ppc_state.pc))->type;
PPCTables::GetOpInfo(PowerPC::MMU::HostRead_U32(guard, ppc_state.pc), ppc_state.pc)->type;
if (optype != OpType::Store && optype != OpType::StoreFP && optype != OpType::StorePS)
return;
}