coarse 16bpp version works
[gbajam22] / src / gba / main.c
index 6e5dbc0..49657df 100644 (file)
@@ -16,12 +16,6 @@ int main(void)
 
        REG_WAITCNT = WAITCNT_PREFETCH | WAITCNT_ROM_2_1;
 
-       cptr = (uint16_t*)CRAM_BG_ADDR;
-       for(i=0; i<256; i++) {
-               int c = i >> 3;
-               *cptr++ = c | ((c >> 1) << 10);
-       }
-
 #ifndef NOSOUND
        mmInitDefault(sound_data, 8);
        mmStart(MOD_POPCORN, MM_PLAY_LOOP);
@@ -51,11 +45,9 @@ int main(void)
 ARM_IWRAM
 static void vblank(void)
 {
-#ifdef VBLBAR
        vblperf_count++;
-#endif
 
-       curscr->vblank();
+       /*curscr->vblank();*/
 
 #ifndef NOSOUND
        mmVBlank();