aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorFlenk008 <frenk_0_0@hotmail.com>2023-03-10 14:20:09 +0100
committerGitHub <noreply@github.com>2023-03-10 14:20:09 +0100
commit6bd3372103a97f8cb3183f1a7b0a3cfc3c1e1558 (patch)
tree16974fd4462defaf338aba06286992160e4e7246 /src/main.c
parentad7a3609b650e4c1fccc7f2f768cfcb75a072b08 (diff)
parent4a740898621dcfc16fe257b6fe8695c768ec4dd6 (diff)
Merge branch 'lonkaars:dev' into dev
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/main.c b/src/main.c
index f4de225..191d5d9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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++;
}