summaryrefslogtreecommitdiff
path: root/ppu.c
diff options
context:
space:
mode:
Diffstat (limited to 'ppu.c')
-rw-r--r--ppu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ppu.c b/ppu.c
index b34115c..cd549d1 100644
--- a/ppu.c
+++ b/ppu.c
@@ -397,8 +397,8 @@ 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++];
+ static int32_t tas_frame = 0;
+ state->input[0] = tas_input[tas_frame++];
ppu->reg_status |= 0x80;
if(ppu->reg_ctrl & 0x80) {
@@ -432,4 +432,3 @@ static void ppu_tick(struct nes_state *state) {
ppu->scanline = scanline;
}
}
-