diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-06-04 15:26:11 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-06-04 15:26:11 +0200 |
| commit | 6dd73982c514445c4d2a4787c37666d0812a3dad (patch) | |
| tree | 78f4e43890a9f7aeb6460066bcfe117e1f96cdd8 /ppu_registers.c | |
| parent | f02853edb8a624fbe85ea322eaba9e643756d44e (diff) | |
added scaffolding for apu
Diffstat (limited to 'ppu_registers.c')
| -rw-r--r-- | ppu_registers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ppu_registers.c b/ppu_registers.c index 6217908..8423774 100644 --- a/ppu_registers.c +++ b/ppu_registers.c @@ -128,7 +128,7 @@ static inline void ppu_dma_4014(struct nes_state *state, uint8_t page) { for(uint8_t i = 0; i < idle_cycles; i++) { state->cpu.cycles++; ppu_tick(state); - // apu_tick(state); + apu_tick(state); } for(uint32_t i = 0; i < 256; i++) { @@ -136,12 +136,12 @@ static inline void ppu_dma_4014(struct nes_state *state, uint8_t page) { state->cpu.cycles++; ppu_tick(state); - // apu_tick(state); + apu_tick(state); uint8_t value = memory_read_dma(state, addr); state->cpu.cycles++; ppu_tick(state); - // apu_tick(state); + apu_tick(state); ppu_write(state, 4, value); } |
