summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/vm_manager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-12 16:08:46 +0100
committerLioncash <mathew1800@gmail.com>2018-12-12 20:03:50 +0100
commit366985ca925c28867b4cdf847db978acd6c2db1e (patch)
tree4a14e65865cc55c35e451ae5947e644741b9cd31 /src/core/hle/kernel/vm_manager.cpp
parentMerge pull request #1846 from lioncash/dir (diff)
downloadyuzu-366985ca925c28867b4cdf847db978acd6c2db1e.tar
yuzu-366985ca925c28867b4cdf847db978acd6c2db1e.tar.gz
yuzu-366985ca925c28867b4cdf847db978acd6c2db1e.tar.bz2
yuzu-366985ca925c28867b4cdf847db978acd6c2db1e.tar.lz
yuzu-366985ca925c28867b4cdf847db978acd6c2db1e.tar.xz
yuzu-366985ca925c28867b4cdf847db978acd6c2db1e.tar.zst
yuzu-366985ca925c28867b4cdf847db978acd6c2db1e.zip
Diffstat (limited to 'src/core/hle/kernel/vm_manager.cpp')
-rw-r--r--src/core/hle/kernel/vm_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index 6187993ce..e0f204b0b 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -25,14 +25,14 @@ static const char* GetMemoryStateName(MemoryState state) {
"CodeMutable", "Heap",
"Shared", "Unknown1",
"ModuleCodeStatic", "ModuleCodeMutable",
- "IpcBuffer0", "Mapped",
+ "IpcBuffer0", "Stack",
"ThreadLocal", "TransferMemoryIsolated",
"TransferMemory", "ProcessMemory",
"Unknown2", "IpcBuffer1",
"IpcBuffer3", "KernelStack",
};
- return names[static_cast<int>(state)];
+ return names[ToSvcMemoryState(state)];
}
bool VirtualMemoryArea::CanBeMergedWith(const VirtualMemoryArea& next) const {