Browse Source
Merge pull request #11766 from liamwhite/open-sesame
k_page_table: add missing page group open when locking memory
pull/15/merge
liamwhite
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
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(); |
|
|
|
} |
|
|
|
|
|
|
|
|