diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-04-21 14:06:43 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-04-21 14:06:43 +0200 |
| commit | 19f119e49c91580f49bb02f86bb905a05ba90d6b (patch) | |
| tree | 1fb671eb5bec6cd723e3708e0085280aee926547 /ppu.c | |
| parent | 6321f071ed2ab36242e857a9414b7f4c53092d72 (diff) | |
back to 2560fps after wrangling the ppu_state into two cachelines
Diffstat (limited to 'ppu.c')
| -rw-r--r-- | ppu.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |
