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/memory_setup.h | |
| 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/memory_setup.h')
| -rw-r--r-- | src/core/memory_setup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/memory_setup.h b/src/core/memory_setup.h index c58baa50b..ff4dcc936 100644 --- a/src/core/memory_setup.h +++ b/src/core/memory_setup.h | |||
| @@ -17,7 +17,7 @@ namespace Memory { | |||
| 17 | * @param size The amount of bytes to map. Must be page-aligned. | 17 | * @param size The amount of bytes to map. Must be page-aligned. |
| 18 | * @param target Buffer with the memory backing the mapping. Must be of length at least `size`. | 18 | * @param target Buffer with the memory backing the mapping. Must be of length at least `size`. |
| 19 | */ | 19 | */ |
| 20 | void MapMemoryRegion(PageTable& page_table, VAddr base, u32 size, u8* target); | 20 | void MapMemoryRegion(PageTable& page_table, VAddr base, u64 size, u8* target); |
| 21 | 21 | ||
| 22 | /** | 22 | /** |
| 23 | * Maps a region of the emulated process address space as a IO region. | 23 | * Maps a region of the emulated process address space as a IO region. |
| @@ -26,7 +26,7 @@ void MapMemoryRegion(PageTable& page_table, VAddr base, u32 size, u8* target); | |||
| 26 | * @param size The amount of bytes to map. Must be page-aligned. | 26 | * @param size The amount of bytes to map. Must be page-aligned. |
| 27 | * @param mmio_handler The handler that backs the mapping. | 27 | * @param mmio_handler The handler that backs the mapping. |
| 28 | */ | 28 | */ |
| 29 | void MapIoRegion(PageTable& page_table, VAddr base, u32 size, MMIORegionPointer mmio_handler); | 29 | void MapIoRegion(PageTable& page_table, VAddr base, u64 size, MMIORegionPointer mmio_handler); |
| 30 | 30 | ||
| 31 | void UnmapRegion(PageTable& page_table, VAddr base, u32 size); | 31 | void UnmapRegion(PageTable& page_table, VAddr base, u64 size); |
| 32 | } | 32 | } |