diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-13 15:29:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 15:29:05 +0200 |
commit | c00b63b9e11917b153e077e173f25bc150286f58 (patch) | |
tree | b1226ea187e2e2106220c7b0cbf628b56079cc04 | |
parent | Merge pull request #11649 from t895/driver-manager (diff) | |
parent | k_page_table: add missing page group open when locking memory (diff) | |
download | yuzu-c00b63b9e11917b153e077e173f25bc150286f58.tar yuzu-c00b63b9e11917b153e077e173f25bc150286f58.tar.gz yuzu-c00b63b9e11917b153e077e173f25bc150286f58.tar.bz2 yuzu-c00b63b9e11917b153e077e173f25bc150286f58.tar.lz yuzu-c00b63b9e11917b153e077e173f25bc150286f58.tar.xz yuzu-c00b63b9e11917b153e077e173f25bc150286f58.tar.zst yuzu-c00b63b9e11917b153e077e173f25bc150286f58.zip |
-rw-r--r-- | src/core/hle/kernel/k_page_table.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_page_table.cpp b/src/core/hle/kernel/k_page_table.cpp index 1fbfbf31f..0b0cef984 100644 --- a/src/core/hle/kernel/k_page_table.cpp +++ b/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(); } |