1
0
Fork 0

Correcting word order of a comment in memory.cpp

This commit is contained in:
Alexandre Paré 2017-10-28 13:23:58 -04:00
parent 79852d3707
commit d65983515f
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ void RasterizerMarkRegionCached(PAddr start, u32 size, int count_delta) {
case PageType::RasterizerCachedMemory: { case PageType::RasterizerCachedMemory: {
u8* pointer = GetPointerFromVMA(vaddr & ~PAGE_MASK); u8* pointer = GetPointerFromVMA(vaddr & ~PAGE_MASK);
if (pointer == nullptr) { if (pointer == nullptr) {
// It's possible that this function has called been while updating the pagetable // It's possible that this function has been called while updating the pagetable
// after unmapping a VMA. In that case the underlying VMA will no longer exist, // after unmapping a VMA. In that case the underlying VMA will no longer exist,
// and we should just leave the pagetable entry blank. // and we should just leave the pagetable entry blank.
page_type = PageType::Unmapped; page_type = PageType::Unmapped;