projects
/
gbajam21
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sprites 256c, shadow oam, sprite transforms, sinlut
[gbajam21]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
9b3b0e8
..
e1c3af0
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-7,6
+7,7
@@
#include "maxmod.h"
static void vblank(void);
#include "maxmod.h"
static void vblank(void);
+static void nopfunc(void);
int main(void)
{
int main(void)
{
@@
-19,6
+20,8
@@
int main(void)
mmStart(MOD_POPCORN, MM_PLAY_LOOP);
#endif
mmStart(MOD_POPCORN, MM_PLAY_LOOP);
#endif
+ screen_vblank = nopfunc;
+
intr_disable();
interrupt(INTR_VBLANK, vblank);
REG_DISPSTAT |= DISPSTAT_IEN_VBLANK;
intr_disable();
interrupt(INTR_VBLANK, vblank);
REG_DISPSTAT |= DISPSTAT_IEN_VBLANK;
@@
-35,8
+38,14
@@
static void vblank(void)
{
vblperf_count++;
{
vblperf_count++;
+ screen_vblank();
+
#ifndef NOSOUND
mmVBlank();
mmFrame();
#endif
}
#ifndef NOSOUND
mmVBlank();
mmFrame();
#endif
}
+
+static void nopfunc(void)
+{
+}