diff --git a/gba/cartest/src/cartest.cpp b/gba/cartest/src/cartest.cpp index 4c3297f..74ce7b3 100644 --- a/gba/cartest/src/cartest.cpp +++ b/gba/cartest/src/cartest.cpp @@ -32,9 +32,6 @@ typedef s32 FIXED; // 32bit FIXED in 24.8 format #define NUMSMOKES 30 -OBJATTR oe_buffer[2+NUMSMOKES+10]; -OBJAFFINE *const oa_buffer = (OBJAFFINE*)oe_buffer; - unsigned int frame; void VblankInterrupt() @@ -161,6 +158,9 @@ public: int main(void) { + OBJATTR oe_buffer[2+NUMSMOKES+10]; + OBJAFFINE *const oa_buffer = (OBJAFFINE*)oe_buffer; + // Set up the interrupt handlers InitInterrupt();