diff options
| author | 2020-04-17 00:59:08 -0400 | |
|---|---|---|
| committer | 2020-04-17 00:59:36 -0400 | |
| commit | 8bbe74a8dc62cd3933fd08237e707b0059fe8a78 (patch) | |
| tree | 61b6af4968dcb52ba84aebdffd3cff0f3c5864ce /src/core/hle/kernel/svc.cpp | |
| parent | core: device_memory: Remove incorrect usage of constexpr. (diff) | |
| download | yuzu-8bbe74a8dc62cd3933fd08237e707b0059fe8a78.tar.gz yuzu-8bbe74a8dc62cd3933fd08237e707b0059fe8a78.tar.xz yuzu-8bbe74a8dc62cd3933fd08237e707b0059fe8a78.zip | |
core: hle: Address various feedback & code cleanup.
- Should be no functional changes.
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 5914b5d39..4134acf65 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -1196,7 +1196,7 @@ static ResultCode QueryProcessMemory(Core::System& system, VAddr memory_info_add | |||
| 1196 | } | 1196 | } |
| 1197 | 1197 | ||
| 1198 | auto& memory{system.Memory()}; | 1198 | auto& memory{system.Memory()}; |
| 1199 | const Svc::MemoryInfo memory_info{process->PageTable().QueryInfo(address).GetSvcMemoryInfo()}; | 1199 | const auto memory_info{process->PageTable().QueryInfo(address).GetSvcMemoryInfo()}; |
| 1200 | 1200 | ||
| 1201 | memory.Write64(memory_info_address + 0x00, memory_info.addr); | 1201 | memory.Write64(memory_info_address + 0x00, memory_info.addr); |
| 1202 | memory.Write64(memory_info_address + 0x08, memory_info.size); | 1202 | memory.Write64(memory_info_address + 0x08, memory_info.size); |