summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/vm_manager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-11-12 09:32:53 +0100
committerLioncash <mathew1800@gmail.com>2019-11-12 13:55:39 +0100
commit12dc918937467b2579b9e2738820c542ae4fdd4f (patch)
tree151f88bb38259f8bb92fe69d79f58f5fb3a78238 /src/core/hle/kernel/vm_manager.cpp
parentfile_sys: Resolve sign conversion warnings (diff)
downloadyuzu-12dc918937467b2579b9e2738820c542ae4fdd4f.tar
yuzu-12dc918937467b2579b9e2738820c542ae4fdd4f.tar.gz
yuzu-12dc918937467b2579b9e2738820c542ae4fdd4f.tar.bz2
yuzu-12dc918937467b2579b9e2738820c542ae4fdd4f.tar.lz
yuzu-12dc918937467b2579b9e2738820c542ae4fdd4f.tar.xz
yuzu-12dc918937467b2579b9e2738820c542ae4fdd4f.tar.zst
yuzu-12dc918937467b2579b9e2738820c542ae4fdd4f.zip
Diffstat (limited to 'src/core/hle/kernel/vm_manager.cpp')
-rw-r--r--src/core/hle/kernel/vm_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index c7af87073..e6eee09d7 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -167,7 +167,7 @@ ResultVal<VAddr> VMManager::FindFreeRegion(VAddr begin, VAddr end, u64 size) con
if (vma_handle == vma_map.cend()) {
// TODO(Subv): Find the correct error code here.
- return ResultCode(-1);
+ return RESULT_UNKNOWN;
}
const VAddr target = std::max(begin, vma_handle->second.base);