diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-22 05:21:49 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-22 07:55:17 +0200 |
commit | 326e7c70208865b013e138972b25687d805488d0 (patch) | |
tree | b88cd1431d0069052b0bab969ba480a9278f8c22 /src/core/hle/kernel/shared_memory.cpp | |
parent | Merge pull request #2792 from wwylele/lutlutlut (diff) | |
download | yuzu-326e7c70208865b013e138972b25687d805488d0.tar yuzu-326e7c70208865b013e138972b25687d805488d0.tar.gz yuzu-326e7c70208865b013e138972b25687d805488d0.tar.bz2 yuzu-326e7c70208865b013e138972b25687d805488d0.tar.lz yuzu-326e7c70208865b013e138972b25687d805488d0.tar.xz yuzu-326e7c70208865b013e138972b25687d805488d0.tar.zst yuzu-326e7c70208865b013e138972b25687d805488d0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/shared_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/shared_memory.cpp b/src/core/hle/kernel/shared_memory.cpp index 922e5ab58..a7b66142f 100644 --- a/src/core/hle/kernel/shared_memory.cpp +++ b/src/core/hle/kernel/shared_memory.cpp @@ -149,7 +149,7 @@ ResultCode SharedMemory::Map(Process* target_process, VAddr address, MemoryPermi if (base_address == 0 && target_address == 0) { // Calculate the address at which to map the memory block. - target_address = Memory::PhysicalToVirtualAddress(linear_heap_phys_address); + target_address = Memory::PhysicalToVirtualAddress(linear_heap_phys_address).value(); } // Map the memory block into the target process |