mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-26 09:02:44 -06:00
Merge pull request #3060 from superheri/WordOrderComment
Correcting word order of a comment in memory.cpp
This commit is contained in:
commit
c575e6b202
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue