diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-22 18:55:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-22 18:55:36 +0200 |
commit | d9923b0dbc62bdff6aed37a2f994012e67375e32 (patch) | |
tree | dd0907e7ce0ec84afb972d7902dc9bade538ee82 /src/core | |
parent | Merge pull request #1547 from FernandoS27/fix-fset (diff) | |
parent | svc: Fix vma boundary check in svcQueryMemory (diff) | |
download | yuzu-d9923b0dbc62bdff6aed37a2f994012e67375e32.tar yuzu-d9923b0dbc62bdff6aed37a2f994012e67375e32.tar.gz yuzu-d9923b0dbc62bdff6aed37a2f994012e67375e32.tar.bz2 yuzu-d9923b0dbc62bdff6aed37a2f994012e67375e32.tar.lz yuzu-d9923b0dbc62bdff6aed37a2f994012e67375e32.tar.xz yuzu-d9923b0dbc62bdff6aed37a2f994012e67375e32.tar.zst yuzu-d9923b0dbc62bdff6aed37a2f994012e67375e32.zip |
Diffstat (limited to 'src/core')
-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; |