Common: Refactor PointerWrap

This commit is contained in:
Dentomologist
2022-05-17 22:29:05 -07:00
parent 7fcc866c41
commit f6b9acccfc
38 changed files with 108 additions and 106 deletions

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)