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_registers.c | |
| parent | 8a32bcfac621dfcaa6af832228e56713a4af6156 (diff) | |
before ppu rearrangement and fix of scanline 261
Diffstat (limited to 'ppu_registers.c')
| -rw-r--r-- | ppu_registers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ppu_registers.c b/ppu_registers.c index e2e7940..1f738a1 100644 --- a/ppu_registers.c +++ b/ppu_registers.c @@ -122,6 +122,7 @@ static inline void ppu_dma_4014(struct nes_state *state, uint8_t page) { for(uint8_t i = 0; i < idle_cycles; i++) { state->cycles++; ppu_tick(state); + // apu_tick(state); } for(uint32_t i = 0; i < 256; i++) { @@ -129,10 +130,13 @@ static inline void ppu_dma_4014(struct nes_state *state, uint8_t page) { state->cycles++; ppu_tick(state); + // apu_tick(state); uint8_t value = memory_read_dma(state, addr); state->cycles++; ppu_tick(state); + // apu_tick(state); + ppu_write(state, 4, value); } } |
