X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fgamescr.c;h=3941883426087d89cd78c6c7735443ccb8664f32;hb=c8c1b9ddb5ed3e256b086bd0db92589948163e93;hp=e5dd8e4ba46c32042c66da12fdf297e84e26557d;hpb=5295fa573612c0b9c8c47c3dc42464f75639845b;p=gbajam21 diff --git a/src/gamescr.c b/src/gamescr.c index e5dd8e4..3941883 100644 --- a/src/gamescr.c +++ b/src/gamescr.c @@ -7,7 +7,7 @@ #include "intr.h" #include "debug.h" -static unsigned char tex[32 * 32] __attribute__((section(".iwram"))); +static unsigned char *tex;//[32 * 32] __attribute__((section(".iwram"))); void gamescr(void) { @@ -31,6 +31,7 @@ void gamescr(void) fillblock_16byte(vram[0], 0xffffffff, 240 * 160 / 16); fillblock_16byte(vram[1], 0xffffffff, 240 * 160 / 16); + tex = iwram_sbrk(32 * 32); memcpy(tex, tuncross_pixels, 32 * 32); nframes = 0;