mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
PPCTables: Make the op type enum an enum class
Reduces the amount of identifiers dropped into the global namespace when the PPCTables header is included.
This commit is contained in:
@ -241,8 +241,8 @@ void CompileExceptionCheck(ExceptionType type)
|
||||
if (type == ExceptionType::FIFOWrite)
|
||||
{
|
||||
// Check in case the code has been replaced since: do we need to do this?
|
||||
int optype = GetOpInfo(PowerPC::HostRead_U32(PC))->type;
|
||||
if (optype != OPTYPE_STORE && optype != OPTYPE_STOREFP && (optype != OPTYPE_STOREPS))
|
||||
const ::OpType optype = GetOpInfo(PowerPC::HostRead_U32(PC))->type;
|
||||
if (optype != ::OpType::Store && optype != ::OpType::StoreFP && optype != ::OpType::StorePS)
|
||||
return;
|
||||
}
|
||||
exception_addresses->insert(PC);
|
||||
|
Reference in New Issue
Block a user