minor foo
[gbajam21] / src / gamescr.c
index 3941883..1e715bf 100644 (file)
@@ -7,8 +7,6 @@
 #include "intr.h"
 #include "debug.h"
 
-static unsigned char *tex;//[32 * 32] __attribute__((section(".iwram")));
-
 void gamescr(void)
 {
        int i, j, tx, ty, angle, depth, nframes, backbuf, zoffs;
@@ -16,6 +14,7 @@ void gamescr(void)
        uint16_t *cdst, *top, *bot;
        unsigned char *csrc;
        uint32_t tun, *tunptr;
+       unsigned char *tex;
 
        REG_DISPCNT = 4 | DISPCNT_BG2 | DISPCNT_FB1;