Move some constants to `MemConstants.h`

This commit is contained in:
Jesse Talavera-Greenberg 2023-12-06 09:33:32 -05:00 committed by Nadia Holmquist Pedersen
parent 53e5aa6298
commit 399a6af91c
2 changed files with 3 additions and 3 deletions

View File

@ -24,6 +24,7 @@
#include "types.h" #include "types.h"
#include "MemRegion.h" #include "MemRegion.h"
#include "MemConstants.h"
#ifdef GDBSTUB_ENABLED #ifdef GDBSTUB_ENABLED
#include "debug/GdbStub.h" #include "debug/GdbStub.h"
@ -42,9 +43,6 @@ enum
RWFlags_ForceUser = (1<<21), RWFlags_ForceUser = (1<<21),
}; };
const u32 ITCMPhysicalSize = 0x8000;
const u32 DTCMPhysicalSize = 0x4000;
struct GDBArgs; struct GDBArgs;
class ARMJIT; class ARMJIT;
class GPU; class GPU;

View File

@ -30,6 +30,8 @@ constexpr u32 NWRAMSize = 0x40000;
constexpr u32 ARM9BIOSSize = 0x1000; constexpr u32 ARM9BIOSSize = 0x1000;
constexpr u32 ARM7BIOSSize = 0x4000; constexpr u32 ARM7BIOSSize = 0x4000;
constexpr u32 DSiBIOSSize = 0x10000; constexpr u32 DSiBIOSSize = 0x10000;
constexpr u32 ITCMPhysicalSize = 0x8000;
constexpr u32 DTCMPhysicalSize = 0x4000;
} }
#endif // MELONDS_MEMCONSTANTS_H #endif // MELONDS_MEMCONSTANTS_H