diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-08-02 12:19:05 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-08-02 12:21:46 -0400 |
| commit | c4e0c3d76ce4cf3cf3844b204ff7028ffa65a0d9 (patch) | |
| tree | d491f1c2ab5a036e57d0080564447bfd1cd5fb74 /src/core/hle/kernel/vm_manager.h | |
| parent | ce5ad45278e75d215b2257cde161895915670b2a (diff) | |
kernel/vm_manager: Use const where applicable
Makes our immutable state explicit.
Diffstat (limited to 'src/core/hle/kernel/vm_manager.h')
| -rw-r--r-- | src/core/hle/kernel/vm_manager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h index 38e4ebcd3..98bd04bea 100644 --- a/src/core/hle/kernel/vm_manager.h +++ b/src/core/hle/kernel/vm_manager.h @@ -190,16 +190,16 @@ public: void LogLayout() const; /// Gets the total memory usage, used by svcGetInfo - u64 GetTotalMemoryUsage(); + u64 GetTotalMemoryUsage() const; /// Gets the total heap usage, used by svcGetInfo - u64 GetTotalHeapUsage(); + u64 GetTotalHeapUsage() const; /// Gets the total address space base address, used by svcGetInfo - VAddr GetAddressSpaceBaseAddr(); + VAddr GetAddressSpaceBaseAddr() const; /// Gets the total address space address size, used by svcGetInfo - u64 GetAddressSpaceSize(); + u64 GetAddressSpaceSize() const; /// Each VMManager has its own page table, which is set as the main one when the owning process /// is scheduled. |
