diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-03-13 20:04:54 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-03-13 20:04:54 +0100 |
commit | bec47edeefed4d9a545ad0bfa43d7edee6379b03 (patch) | |
tree | 87935cfc33ffe66c296db2f246a2bbc16019cf40 /src/main.c | |
parent | 74ec145c5e44a51789e9117b1ae93dfd7be24d86 (diff) | |
parent | 5a747929ed2099755fb03c930ea68c77fda805b3 (diff) |
merge `dev` into `ppu`
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 20 |
1 files changed, 4 insertions, 16 deletions
@@ -1,8 +1,8 @@ #include <stdlib.h> -#include "main.h" -#include "ppu/ppu.h" #include "demo.h" +#include "input.h" +#include "main.h" bool g_hh_run = true; @@ -15,19 +15,7 @@ int main() { void hh_ppu_vblank_interrupt() { static unsigned long frame = 0; - frame++; - + hh_input_read(); hh_demo_loop(frame); -} - -void hh_setup() { - hh_ppu_init(); - - hh_demo_setup(); -} - -void hh_exit() { - g_hh_run = false; - - hh_ppu_deinit(); + frame++; } |