summaryrefslogtreecommitdiff
path: root/ppu.c
diff options
context:
space:
mode:
Diffstat (limited to 'ppu.c')
-rw-r--r--ppu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ppu.c b/ppu.c
index 7042b19..b34115c 100644
--- a/ppu.c
+++ b/ppu.c
@@ -397,6 +397,9 @@ static void ppu_tick(struct nes_state *state) {
}
if(UNLIKELY(scanline == 241) && dot == 1) {
+ // static int32_t tas_frame = 0;
+ // state->input[0] = tas_input[tas_frame++];
+
ppu->reg_status |= 0x80;
if(ppu->reg_ctrl & 0x80) {
state->nmi_pending = 1;