mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 12:45:05 +01:00
Correcting word order of a comment in memory.cpp
This commit is contained in:
parent
79852d3707
commit
d65983515f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user