diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -18,15 +18,9 @@ volatile unsigned short g_hh_hcount; void hh_ppu_vblank_interrupt() { static unsigned long frame = 0; - // hh_ppu_flush(); - // hh_input_read(); - // hh_demo_loop(frame); - - size_t offset = frame * 4; - if (offset >= HH_PPUINTDEMO_LENGTH) return; - uint8_t* d = HH_PPUINTDEMO_ARR + offset; - hh_ppu_vram_buffer(d); - hh_ppu_vram_flush(); + hh_input_read(); + hh_demo_loop(frame); + hh_ppu_flush(); frame++; } |