diff options
author | Liam <byteslice@airmail.cc> | 2023-07-15 03:43:15 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-07-15 03:43:15 +0200 |
commit | a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb (patch) | |
tree | 40f818c29a9e19dbc2c7aeb352d7892c59d7e858 /src/core/hle/kernel/svc/svc_shared_memory.cpp | |
parent | file_sys/content_archive: Detect compressed NCAs (#11047) (diff) | |
download | yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.gz yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.bz2 yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.lz yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.xz yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.tar.zst yuzu-a85ce8ea563dfdd0ea61b22a80ffcf7ff66861cb.zip |
Diffstat (limited to 'src/core/hle/kernel/svc/svc_shared_memory.cpp')
-rw-r--r-- | src/core/hle/kernel/svc/svc_shared_memory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc/svc_shared_memory.cpp b/src/core/hle/kernel/svc/svc_shared_memory.cpp index a698596aa..012b1ae2b 100644 --- a/src/core/hle/kernel/svc/svc_shared_memory.cpp +++ b/src/core/hle/kernel/svc/svc_shared_memory.cpp @@ -43,7 +43,7 @@ Result MapSharedMemory(Core::System& system, Handle shmem_handle, u64 address, u // Get the current process. auto& process = GetCurrentProcess(system.Kernel()); - auto& page_table = process.PageTable(); + auto& page_table = process.GetPageTable(); // Get the shared memory. KScopedAutoObject shmem = process.GetHandleTable().GetObject<KSharedMemory>(shmem_handle); @@ -73,7 +73,7 @@ Result UnmapSharedMemory(Core::System& system, Handle shmem_handle, u64 address, // Get the current process. auto& process = GetCurrentProcess(system.Kernel()); - auto& page_table = process.PageTable(); + auto& page_table = process.GetPageTable(); // Get the shared memory. KScopedAutoObject shmem = process.GetHandleTable().GetObject<KSharedMemory>(shmem_handle); |