diff options
author | Liam <byteslice@airmail.cc> | 2022-12-24 03:32:13 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-25 18:55:21 +0100 |
commit | 3392fdac9be7f1ecf35f9dbbb8f686b208e52bec (patch) | |
tree | 6daa6c464720572d90c7af242ce739d3a4ba0991 /src/core/hle/kernel/svc.cpp | |
parent | Merge pull request #9500 from liamwhite/reentrant-shutdown (diff) | |
download | yuzu-3392fdac9be7f1ecf35f9dbbb8f686b208e52bec.tar yuzu-3392fdac9be7f1ecf35f9dbbb8f686b208e52bec.tar.gz yuzu-3392fdac9be7f1ecf35f9dbbb8f686b208e52bec.tar.bz2 yuzu-3392fdac9be7f1ecf35f9dbbb8f686b208e52bec.tar.lz yuzu-3392fdac9be7f1ecf35f9dbbb8f686b208e52bec.tar.xz yuzu-3392fdac9be7f1ecf35f9dbbb8f686b208e52bec.tar.zst yuzu-3392fdac9be7f1ecf35f9dbbb8f686b208e52bec.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 788ee2160..aca442196 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -1485,7 +1485,7 @@ static Result MapProcessMemory(Core::System& system, VAddr dst_address, Handle p ResultInvalidMemoryRegion); // Create a new page group. - KPageGroup pg; + KPageGroup pg{system.Kernel(), dst_pt.GetBlockInfoManager()}; R_TRY(src_pt.MakeAndOpenPageGroup( std::addressof(pg), src_address, size / PageSize, KMemoryState::FlagCanMapProcess, KMemoryState::FlagCanMapProcess, KMemoryPermission::None, KMemoryPermission::None, |