diff options
| author | Weiyi Wang <wwylele@gmail.com> | 2017-07-22 10:15:52 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-22 10:15:52 +0300 |
| commit | c40c9bf2854677efa3dff9e0888b925589e3621d (patch) | |
| tree | fba1a440adf7d7ecd59edaf48e215e70b7c6cf9e /src/core/hle/kernel/shared_memory.cpp | |
| parent | a32e38fba0709048986756918a1fb53554e2eb05 (diff) | |
| parent | 1423b3b10e138f54eb3b7ad54f2b1237b12b0700 (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/shared_memory.cpp')
| -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 922e5ab58b..a7b66142f6 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 |
