diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-24 21:28:04 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-24 22:08:30 +0100 |
commit | 99a163478be9ca285280ee59aa7800903b8571c2 (patch) | |
tree | 68d92d914872bd772cb5e2daa2cf3a5c2f1d0295 /src/core/hle/kernel/vm_manager.cpp | |
parent | kernel/vm_manager: Handle case of identical calls to HeapAllocate (diff) | |
download | yuzu-99a163478be9ca285280ee59aa7800903b8571c2.tar yuzu-99a163478be9ca285280ee59aa7800903b8571c2.tar.gz yuzu-99a163478be9ca285280ee59aa7800903b8571c2.tar.bz2 yuzu-99a163478be9ca285280ee59aa7800903b8571c2.tar.lz yuzu-99a163478be9ca285280ee59aa7800903b8571c2.tar.xz yuzu-99a163478be9ca285280ee59aa7800903b8571c2.tar.zst yuzu-99a163478be9ca285280ee59aa7800903b8571c2.zip |
Diffstat (limited to 'src/core/hle/kernel/vm_manager.cpp')
-rw-r--r-- | src/core/hle/kernel/vm_manager.cpp | 2 |
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 16f48471e..523fe63e9 100644 --- a/src/core/hle/kernel/vm_manager.cpp +++ b/src/core/hle/kernel/vm_manager.cpp @@ -256,7 +256,7 @@ ResultCode VMManager::ReprotectRange(VAddr target, u64 size, VMAPermission new_p return RESULT_SUCCESS; } -ResultVal<VAddr> VMManager::HeapAllocate(u64 size) { +ResultVal<VAddr> VMManager::SetHeapSize(u64 size) { if (size > GetHeapRegionSize()) { return ERR_OUT_OF_MEMORY; } |