summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/memory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/memory.cpp b/src/core/hle/kernel/memory.cpp
index 95d3a6bf6..d990d0569 100644
--- a/src/core/hle/kernel/memory.cpp
+++ b/src/core/hle/kernel/memory.cpp
@@ -69,8 +69,8 @@ void MemoryInit(u32 mem_type) {
69 // app_mem_malloc does not always match the configured size for memory_region[0]: in case the 69 // app_mem_malloc does not always match the configured size for memory_region[0]: in case the
70 // n3DS type override is in effect it reports the size the game expects, not the real one. 70 // n3DS type override is in effect it reports the size the game expects, not the real one.
71 config_mem.app_mem_alloc = memory_region_sizes[mem_type][0]; 71 config_mem.app_mem_alloc = memory_region_sizes[mem_type][0];
72 config_mem.sys_mem_alloc = memory_regions[1].size; 72 config_mem.sys_mem_alloc = static_cast<u32_le>(memory_regions[1].size);
73 config_mem.base_mem_alloc = memory_regions[2].size; 73 config_mem.base_mem_alloc = static_cast<u32_le>(memory_regions[2].size);
74} 74}
75 75
76void MemoryShutdown() { 76void MemoryShutdown() {