mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-25 17:21:55 +01:00
Merge pull request #3060 from superheri/WordOrderComment
Correcting word order of a comment in memory.cpp
This commit is contained in:
commit
c575e6b202
@ -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