aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory_setup.h
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
commit93480b10ef443dbc616a9240fe8f7456315c1940 (patch)
treeca1f8c7f31835e3c895e72e08745789034c2758b /src/core/memory_setup.h
parent9e8608e8b17c35c2407e1febeedfbbdebc97768a (diff)
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.h6
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 {
* @param size The amount of bytes to map. Must be page-aligned.
* @param target Buffer with the memory backing the mapping. Must be of length at least `size`.
*/
-void MapMemoryRegion(PageTable& page_table, VAddr base, u32 size, u8* target);
+void MapMemoryRegion(PageTable& page_table, VAddr base, u64 size, u8* target);
/**
* 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);
* @param size The amount of bytes to map. Must be page-aligned.
* @param mmio_handler The handler that backs the mapping.
*/
-void MapIoRegion(PageTable& page_table, VAddr base, u32 size, MMIORegionPointer mmio_handler);
+void MapIoRegion(PageTable& page_table, VAddr base, u64 size, MMIORegionPointer mmio_handler);
-void UnmapRegion(PageTable& page_table, VAddr base, u32 size);
+void UnmapRegion(PageTable& page_table, VAddr base, u64 size);
}