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
@@ -807,7 +807,7 @@ void Kernel::DoState(PointerWrap& p)
for (const auto& entry : m_device_map)
entry.second->DoState(p);
if (p.GetMode() == PointerWrap::MODE_READ)
if (p.IsReadMode())
{
for (u32 i = 0; i < IPC_MAX_FDS; i++)
{