blob: a3a4351c6a8eb59746d34474587cb6779ac94055 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <stdlib.h>
#include "main.h"
#include "demo.h"
#include "ppu/ppu.h"
#include "ppu/internals.h"
bool g_hh_run = true;
void hh_ppu_vblank_interrupt() {
static unsigned long frame = 0;
hh_demo_loop(frame++);
hh_ppu_vram_flush();
}
int main() {
hh_setup();
hh_loop();
hh_exit();
return 0;
}
|