X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgamescr.c;h=1e715bfcb4f0a3be050fb2b7b027c3cf49a70a56;hb=720ddd2222c95350ae8f3608e1de504e85157dc1;hp=3941883426087d89cd78c6c7735443ccb8664f32;hpb=c8c1b9ddb5ed3e256b086bd0db92589948163e93;p=gbajam21 diff --git a/src/gamescr.c b/src/gamescr.c index 3941883..1e715bf 100644 --- a/src/gamescr.c +++ b/src/gamescr.c @@ -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;