From 5d7fc8384fd9f1997abda75181541fdc55705bca Mon Sep 17 00:00:00 2001 From: tangstad Date: Mon, 5 Dec 2005 22:15:34 +0000 Subject: [PATCH] Hopefully removed spritebug my moving buffers into main. --- gba/cartest/src/cartest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();