aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
blob: 191d5d9ac0cba8033d4560917f41135bbab5542a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdlib.h>

#include "demo.h"
#include "input.h"
#include "main.h"

bool g_hh_run = true;

int main() {
	hh_setup();
	hh_loop();
	hh_exit();
	return 0;
}

void hh_ppu_vblank_interrupt() {
	static unsigned long frame = 0;
	hh_input_read();
	hh_demo_loop(frame);
	frame++;
}