diff --git a/deps/gbastartup/cstartup.cpp b/deps/gbastartup/cstartup.cpp index 37dec185..b79f241b 100644 --- a/deps/gbastartup/cstartup.cpp +++ b/deps/gbastartup/cstartup.cpp @@ -6,16 +6,15 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include #include -#define MEM_EWRAM_BEGIN ox::bit_cast(0x02000000) -#define MEM_EWRAM_END ox::bit_cast(0x0203FFFF) +#define MEM_EWRAM_BEGIN reinterpret_cast(0x02000000) +#define MEM_EWRAM_END reinterpret_cast(0x0203FFFF) -#define HEAP_BEGIN ox::bit_cast(MEM_EWRAM_BEGIN) +#define HEAP_BEGIN reinterpret_cast(MEM_EWRAM_BEGIN) // set size to half of EWRAM #define HEAP_SIZE ((MEM_EWRAM_END - MEM_EWRAM_BEGIN) / 2) -#define HEAP_END ox::bit_cast(MEM_EWRAM_BEGIN + HEAP_SIZE) +#define HEAP_END reinterpret_cast(MEM_EWRAM_BEGIN + HEAP_SIZE) extern void (*__preinit_array_start[]) (void); extern void (*__preinit_array_end[]) (void);