summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-07-22 10:15:52 +0300
committerGitHub <noreply@github.com>2017-07-22 10:15:52 +0300
commit045d0b5bbdf790952ddfedcfc8816c0afc7a2300 (patch)
treefba1a440adf7d7ecd59edaf48e215e70b7c6cf9e /src/core/hle/kernel
parent5621a65037b1d2a34bbc76a047f925800ecbd47e (diff)
parentd5531357487a144cf962ce08a912417fd5e61570 (diff)
Merge pull request #2799 from yuriks/virtual-cached-range-flush
Add address conversion functions returning optional, Add function to flush virtual region from rasterizer cache
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/shared_memory.cpp2
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