mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
k_page_table: add missing page group open when locking memory
This commit is contained in:
parent
65d3300875
commit
c4ec76edba
@ -3405,6 +3405,11 @@ Result KPageTable::LockMemoryAndOpen(KPageGroup* out_pg, KPhysicalAddress* out_K
|
|||||||
new_attr, KMemoryBlockDisableMergeAttribute::Locked,
|
new_attr, KMemoryBlockDisableMergeAttribute::Locked,
|
||||||
KMemoryBlockDisableMergeAttribute::None);
|
KMemoryBlockDisableMergeAttribute::None);
|
||||||
|
|
||||||
|
// If we have an output page group, open.
|
||||||
|
if (out_pg) {
|
||||||
|
out_pg->Open();
|
||||||
|
}
|
||||||
|
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user