Browse Source

k_page_table: add missing page group open when locking memory

nce_cpp
Liam 2 years ago
parent
commit
060b9482da
  1. 5
      src/core/hle/kernel/k_page_table.cpp

5
src/core/hle/kernel/k_page_table.cpp

@ -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();
}

Loading…
Cancel
Save