summaryrefslogtreecommitdiff
path: root/ppu.c
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-04-01 00:27:34 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-04-01 00:27:34 +0200
commitc00eb3a942ca184e2c2f6c60e3649d301bd8007c (patch)
treecaed7d4ef4f84ec8a2de39a6dad6d0b25a22fe0c /ppu.c
parent59b092914fcf3c33a783a2813ebe268586609ff9 (diff)
remove render_xxx nonsense
Diffstat (limited to 'ppu.c')
-rw-r--r--ppu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppu.c b/ppu.c
index f25348d..dbf8e2b 100644
--- a/ppu.c
+++ b/ppu.c
@@ -98,7 +98,7 @@ static void ppu_write_2004(struct nes_state *state, uint8_t value) {
static void ppu_write_2005(struct nes_state *state, uint8_t value) {
struct ppu_state *ppu = &state->ppu;
- printf("2005 write at sc=%u dot=%u: %02x\n", ppu->scanline, ppu->dot, value);
+ // printf("2005 write at sc=%u dot=%u: %02x\n", ppu->scanline, ppu->dot, value);
if(ppu->write_latch == 0) {
ppu->fine_x = value & 0x07;
@@ -118,7 +118,7 @@ static void ppu_write_2005(struct nes_state *state, uint8_t value) {
static void ppu_write_2006(struct nes_state *state, uint8_t value) {
struct ppu_state *ppu = &state->ppu;
- printf("2006 write at sc=%u dot=%u: %02x\n", ppu->scanline, ppu->dot, value);
+ // printf("2006 write at sc=%u dot=%u: %02x\n", ppu->scanline, ppu->dot, value);
if(ppu->write_latch == 0) {
ppu->vram_addr = ((uint32_t)(value & 0x3f)) << 8;