X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fgamescr.c;fp=src%2Fgamescr.c;h=7d0e05169dbcdee35edeace7f0c44f60143f1970;hb=ebc319ffe5deca14102ab527ee5b5a265214524b;hp=62c16a9e39436ec19e6d413a223c5f6e19e9cd6d;hpb=797884e55a370ff38e244375cc503e97b6355222;p=gbajam22 diff --git a/src/gamescr.c b/src/gamescr.c index 62c16a9..7d0e051 100644 --- a/src/gamescr.c +++ b/src/gamescr.c @@ -109,8 +109,6 @@ static void setup_palette(void) int i; unsigned char *cmap = gba_colors ? color_gba_cmap : color_cmap; - emuprint("setting up %s palette", gba_colors ? "GBA" : "NDS/Emu"); - for(i=0; i<256; i++) { int r = cmap[i * 3]; int g = cmap[i * 3 + 1]; @@ -145,7 +143,7 @@ static int gamescr_start(void) /* setup color image palette */ setup_palette(); - spr_setup(16, 16, spr_game_pixels, spr_game_cmap); + spr_setup(16, 16, spr_game_pixels, gba_colors ? spr_game_gba_cmap : spr_game_cmap); wait_vblank(); spr_clear();