mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
kern: fix nonsensical copy/pasted comments in QueryMemory
This commit is contained in:
parent
94a170c437
commit
bb7f320f7f
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ namespace ams::kern::svc {
|
|||
ams::svc::MemoryInfo info = {};
|
||||
R_TRY(QueryProcessMemory(std::addressof(info), out_page_info, process_handle, address));
|
||||
|
||||
/* Invoke the implementation. */
|
||||
/* Copy the info to userspace. */
|
||||
if constexpr (std::same_as<T, ams::svc::MemoryInfo>) {
|
||||
R_TRY(out_memory_info.CopyFrom(std::addressof(info)));
|
||||
} else {
|
||||
|
@ -58,7 +58,7 @@ namespace ams::kern::svc {
|
|||
converted_info.ipc_refcount = info.ipc_refcount;
|
||||
converted_info.device_refcount = info.device_refcount;
|
||||
|
||||
/* Invoke. */
|
||||
/* Copy it. */
|
||||
R_TRY(out_memory_info.CopyFrom(std::addressof(converted_info)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue