summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-12 21:00:26 +0200
committerLiam <byteslice@airmail.cc>2023-10-12 21:00:26 +0200
commitc4ec76edba8a1b8e06fa6d3ef64f2bf227a785cb (patch)
tree8916b84e89a7e71ada5a0ab908f74d76c74c3d91 /src
parentMerge pull request #11753 from german77/timex2 (diff)
downloadyuzu-c4ec76edba8a1b8e06fa6d3ef64f2bf227a785cb.tar
yuzu-c4ec76edba8a1b8e06fa6d3ef64f2bf227a785cb.tar.gz
yuzu-c4ec76edba8a1b8e06fa6d3ef64f2bf227a785cb.tar.bz2
yuzu-c4ec76edba8a1b8e06fa6d3ef64f2bf227a785cb.tar.lz
yuzu-c4ec76edba8a1b8e06fa6d3ef64f2bf227a785cb.tar.xz
yuzu-c4ec76edba8a1b8e06fa6d3ef64f2bf227a785cb.tar.zst
yuzu-c4ec76edba8a1b8e06fa6d3ef64f2bf227a785cb.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_page_table.cpp5
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();
}