sprites 256c, shadow oam, sprite transforms, sinlut
[gbajam21] / src / main.c
index 9b3b0e8..e1c3af0 100644 (file)
@@ -7,6 +7,7 @@
 #include "maxmod.h"
 
 static void vblank(void);
+static void nopfunc(void);
 
 int main(void)
 {
@@ -19,6 +20,8 @@ int main(void)
        mmStart(MOD_POPCORN, MM_PLAY_LOOP);
 #endif
 
+       screen_vblank = nopfunc;
+
        intr_disable();
        interrupt(INTR_VBLANK, vblank);
        REG_DISPSTAT |= DISPSTAT_IEN_VBLANK;
@@ -35,8 +38,14 @@ static void vblank(void)
 {
        vblperf_count++;
 
+       screen_vblank();
+
 #ifndef NOSOUND
        mmVBlank();
        mmFrame();
 #endif
 }
+
+static void nopfunc(void)
+{
+}