diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-04-28 18:27:17 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-04-28 18:27:17 +0200 |
| commit | c40f7421d8c1ccbe008dbd2191c6642625ae4b83 (patch) | |
| tree | 9779e0a5cff2adec44897dab43d3838e8e61d3fe /ppu.c | |
| parent | 8a32bcfac621dfcaa6af832228e56713a4af6156 (diff) | |
before ppu rearrangement and fix of scanline 261
Diffstat (limited to 'ppu.c')
| -rw-r--r-- | ppu.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } } - |
