yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

k_page_table: add missing page group open when locking memory

This commit is contained in:
Liam 2023-10-12 15:00:26 -04:00
parent 65d3300875
commit c4ec76edba
1 changed files with 5 additions and 0 deletions

View File

@ -3405,6 +3405,11 @@ Result KPageTable::LockMemoryAndOpen(KPageGroup* out_pg, KPhysicalAddress* out_K
new_attr, KMemoryBlockDisableMergeAttribute::Locked,
KMemoryBlockDisableMergeAttribute::None);
// If we have an output page group, open.
if (out_pg) {
out_pg->Open();
}
R_SUCCEED();
}