diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-20 20:55:39 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-20 20:56:51 +0200 |
commit | 896c0f61a0e31c3b37b9a9ba30788bdad6d2731e (patch) | |
tree | 3867d1d1fb11c9cd902830fd8dd2461ad14e55dd /src/core/hle/kernel/svc.cpp | |
parent | Merge pull request #1535 from ReinUsesLisp/fixup-position (diff) | |
download | yuzu-896c0f61a0e31c3b37b9a9ba30788bdad6d2731e.tar yuzu-896c0f61a0e31c3b37b9a9ba30788bdad6d2731e.tar.gz yuzu-896c0f61a0e31c3b37b9a9ba30788bdad6d2731e.tar.bz2 yuzu-896c0f61a0e31c3b37b9a9ba30788bdad6d2731e.tar.lz yuzu-896c0f61a0e31c3b37b9a9ba30788bdad6d2731e.tar.xz yuzu-896c0f61a0e31c3b37b9a9ba30788bdad6d2731e.tar.zst yuzu-896c0f61a0e31c3b37b9a9ba30788bdad6d2731e.zip |
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 3b8a2e230..690b84930 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -654,7 +654,7 @@ static ResultCode QueryProcessMemory(MemoryInfo* memory_info, PageInfo* /*page_i } auto vma = process->VMManager().FindVMA(addr); memory_info->attributes = 0; - if (vma == Core::CurrentProcess()->VMManager().vma_map.end()) { + if (vma == process->VMManager().vma_map.end()) { memory_info->base_address = 0; memory_info->permission = static_cast<u32>(VMAPermission::None); memory_info->size = 0; |