diff --git a/src/ARM.h b/src/ARM.h index 65f78ab3..565579a4 100644 --- a/src/ARM.h +++ b/src/ARM.h @@ -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 ab80faba..4cf2d36c 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