summaryrefslogtreecommitdiffstats
path: root/src/core/memory_setup.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-09-02 05:10:03 +0200
committerbunnei <bunneidev@gmail.com>2017-09-30 20:28:54 +0200
commitf01472a5ffd03b535e8a66bb00d9a7548a0f61bf (patch)
treed11874933de837f7ce57ccb259f1f869db70bdb7 /src/core/memory_setup.h
parentarm: Use 64-bit addressing in a bunch of places. (diff)
downloadyuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.tar
yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.tar.gz
yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.tar.bz2
yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.tar.lz
yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.tar.xz
yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.tar.zst
yuzu-f01472a5ffd03b535e8a66bb00d9a7548a0f61bf.zip
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 3fdf3a87d..fc3fda466 100644
--- a/src/core/memory_setup.h
+++ b/src/core/memory_setup.h
@@ -18,7 +18,7 @@ void InitMemoryMap();
* @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(VAddr base, u32 size, u8* target);
+void MapMemoryRegion(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(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(VAddr base, u32 size, MMIORegionPointer mmio_handler);
+void MapIoRegion(VAddr base, u64 size, MMIORegionPointer mmio_handler);
-void UnmapRegion(VAddr base, u32 size);
+void UnmapRegion(VAddr base, u64 size);
}