diff options
| author | 2018-01-01 15:40:35 -0500 | |
|---|---|---|
| committer | 2018-01-01 15:40:35 -0500 | |
| commit | 93480b10ef443dbc616a9240fe8f7456315c1940 (patch) | |
| tree | ca1f8c7f31835e3c895e72e08745789034c2758b /src/core/hle/kernel | |
| parent | svc: Stub out svcWaitSynchronization. (diff) | |
| download | yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.gz yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.tar.xz yuzu-93480b10ef443dbc616a9240fe8f7456315c1940.zip | |
core/video_core: Fix a bunch of u64 -> u32 warnings.
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/memory.cpp | 4 |
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 | ||
| 76 | void MemoryShutdown() { | 76 | void MemoryShutdown() { |