diff options
author | Jesse Talavera-Greenberg <jesse@jesse.tg> | 2023-12-06 09:33:32 -0500 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-12-08 17:19:00 +0100 |
commit | 399a6af91c31d151444e2593ca43c8d17b168de7 (patch) | |
tree | 48fcaf84d8782081133650f3b1a20e8c507de95a | |
parent | 53e5aa62983dd2db68ac78c2a1272aba456362e6 (diff) |
Move some constants to `MemConstants.h`
-rw-r--r-- | src/ARM.h | 4 | ||||
-rw-r--r-- | src/MemConstants.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -24,6 +24,7 @@ #include "types.h" #include "MemRegion.h" +#include "MemConstants.h" #ifdef GDBSTUB_ENABLED #include "debug/GdbStub.h" @@ -42,9 +43,6 @@ enum RWFlags_ForceUser = (1<<21), }; -const u32 ITCMPhysicalSize = 0x8000; -const u32 DTCMPhysicalSize = 0x4000; - struct GDBArgs; class ARMJIT; class GPU; diff --git a/src/MemConstants.h b/src/MemConstants.h index ab80fab..4cf2d36 100644 --- a/src/MemConstants.h +++ b/src/MemConstants.h @@ -30,6 +30,8 @@ constexpr u32 NWRAMSize = 0x40000; constexpr u32 ARM9BIOSSize = 0x1000; constexpr u32 ARM7BIOSSize = 0x4000; constexpr u32 DSiBIOSSize = 0x10000; +constexpr u32 ITCMPhysicalSize = 0x8000; +constexpr u32 DTCMPhysicalSize = 0x4000; } #endif // MELONDS_MEMCONSTANTS_H
\ No newline at end of file |