diff options
author | Lioncash <mathew1800@gmail.com> | 2019-06-10 00:12:02 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-06-10 00:12:05 +0200 |
commit | c1a8f684df76afc9d1b450da97e504b8d9d65a97 (patch) | |
tree | e97e66ff0127c78174db6757363604a1a32f0699 /src/core/hle/kernel/svc.cpp | |
parent | kernel/svc: Remove duplicate enum entry in svcGetInfo() (diff) | |
download | yuzu-c1a8f684df76afc9d1b450da97e504b8d9d65a97.tar yuzu-c1a8f684df76afc9d1b450da97e504b8d9d65a97.tar.gz yuzu-c1a8f684df76afc9d1b450da97e504b8d9d65a97.tar.bz2 yuzu-c1a8f684df76afc9d1b450da97e504b8d9d65a97.tar.lz yuzu-c1a8f684df76afc9d1b450da97e504b8d9d65a97.tar.xz yuzu-c1a8f684df76afc9d1b450da97e504b8d9d65a97.tar.zst yuzu-c1a8f684df76afc9d1b450da97e504b8d9d65a97.zip |
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 1f8b0d92b..377a9bf48 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -710,7 +710,7 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, u64 ha MapRegionSize = 3, HeapRegionBaseAddr = 4, HeapRegionSize = 5, - TotalMemoryUsage = 6, + TotalPhysicalMemoryAvailable = 6, TotalPhysicalMemoryUsed = 7, IsCurrentProcessBeingDebugged = 8, RegisterResourceLimit = 9, @@ -745,7 +745,7 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, u64 ha case GetInfoType::ASLRRegionSize: case GetInfoType::NewMapRegionBaseAddr: case GetInfoType::NewMapRegionSize: - case GetInfoType::TotalMemoryUsage: + case GetInfoType::TotalPhysicalMemoryAvailable: case GetInfoType::TotalPhysicalMemoryUsed: case GetInfoType::IsVirtualAddressMemoryEnabled: case GetInfoType::PersonalMmHeapUsage: @@ -803,8 +803,8 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, u64 ha *result = process->VMManager().GetNewMapRegionSize(); return RESULT_SUCCESS; - case GetInfoType::TotalMemoryUsage: - *result = process->VMManager().GetTotalMemoryUsage(); + case GetInfoType::TotalPhysicalMemoryAvailable: + *result = process->VMManager().GetTotalPhysicalMemoryAvailable(); return RESULT_SUCCESS; case GetInfoType::TotalPhysicalMemoryUsed: |