Common: Refactor PointerWrap

This commit is contained in:
Dentomologist committed 2022-05-25 13:06:41 -07:00
1 parent 7fcc866c41
commit f6b9acccfc
38 files changed
+108 -106

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ void SetJit(JitBase* jit)
}
void DoState(PointerWrap& p)
{
if (g_jit && p.GetMode() == PointerWrap::MODE_READ)
if (g_jit && p.IsReadMode())
g_jit->ClearCache();
}
CPUCoreBase* InitJitCore(PowerPC::CPUCore core)