aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/memory.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-01 15:40:35 -0500
committerbunnei <bunneidev@gmail.com>2018-01-01 15:40:35 -0500
commit4728cc141ad0831ab625c9d6e7b56b9c53186c54 (patch)
treeca1f8c7f31835e3c895e72e08745789034c2758b /src/core/hle/kernel/memory.cpp
parent082be53aab06a6bde5ac3ecc488c097a895a531d (diff)
core/video_core: Fix a bunch of u64 -> u32 warnings.
Diffstat (limited to 'src/core/hle/kernel/memory.cpp')
-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 95d3a6bf6a..d990d05697 100644
--- a/src/core/hle/kernel/memory.cpp
+++ b/src/core/hle/kernel/memory.cpp
@@ -69,8 +69,8 @@ void MemoryInit(u32 mem_type) {
// app_mem_malloc does not always match the configured size for memory_region[0]: in case the
// n3DS type override is in effect it reports the size the game expects, not the real one.
config_mem.app_mem_alloc = memory_region_sizes[mem_type][0];
- config_mem.sys_mem_alloc = memory_regions[1].size;
- config_mem.base_mem_alloc = memory_regions[2].size;
+ config_mem.sys_mem_alloc = static_cast<u32_le>(memory_regions[1].size);
+ config_mem.base_mem_alloc = static_cast<u32_le>(memory_regions[2].size);
}
void MemoryShutdown() {