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_transfer_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 '')
-rw-r--r-- | src/core/hle/kernel/svc/svc_transfer_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc/svc_transfer_memory.cpp b/src/core/hle/kernel/svc/svc_transfer_memory.cpp index 82d469a37..7d94e7f09 100644 --- a/src/core/hle/kernel/svc/svc_transfer_memory.cpp +++ b/src/core/hle/kernel/svc/svc_transfer_memory.cpp @@ -55,7 +55,7 @@ Result CreateTransferMemory(Core::System& system, Handle* out, u64 address, u64 SCOPE_EXIT({ trmem->Close(); }); // Ensure that the region is in range. - R_UNLESS(process.PageTable().Contains(address, size), ResultInvalidCurrentMemory); + R_UNLESS(process.GetPageTable().Contains(address, size), ResultInvalidCurrentMemory); // Initialize the transfer memory. R_TRY(trmem->Initialize(address, size, map_perm)); |