Savestates: Fix typo in page size setting

This commit is contained in:
Eladash 2022-07-08 00:08:57 +03:00 committed by Ivan
parent 0980c68e6f
commit 314d481dcd
1 changed files with 2 additions and 2 deletions

View File

@ -1638,11 +1638,11 @@ namespace vm
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)))
{
pflags |= page_1m_size;
pflags |= page_size_1m;
}
// Map the memory through the same method as alloc() and falloc()