Savestates: Fix typo in page size setting

This commit is contained in:
Eladash 2022-07-08 00:08:57 +03:00 committed by Ivan
commit 314d481dcd

View file

@ -1638,11 +1638,11 @@ namespace vm
if ((flags & page_size_64k) == page_size_64k) if ((flags & page_size_64k) == page_size_64k)
{ {
pflags |= page_64k_size; pflags |= page_size_64k;
} }
else if (!(flags & (page_size_mask & ~page_size_1m))) else if (!(flags & (page_size_mask & ~page_size_1m)))
{ {
pflags |= page_1m_size; pflags |= page_size_1m;
} }
// Map the memory through the same method as alloc() and falloc() // Map the memory through the same method as alloc() and falloc()