aboutsummaryrefslogtreecommitdiff
path: root/src/ppusim
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-04-03 16:07:28 +0200
committerlonkaars <loek@pipeframe.xyz>2023-04-03 16:07:28 +0200
commit0545586aacc06add477b6df38cd50900698f6d9a (patch)
treeefb8d86dc1343cb093ec7f7828270830cea81499 /src/ppusim
parent46bf4306575fa31fccaff19f0a592f8b40dd46cb (diff)
worky but janky integration done
Diffstat (limited to 'src/ppusim')
-rw-r--r--src/ppusim/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ppusim/mem.c b/src/ppusim/mem.c
index f536727..06eba4b 100644
--- a/src/ppusim/mem.c
+++ b/src/ppusim/mem.c
@@ -11,7 +11,7 @@ void hh_ppu_vram_dwrite(uint8_t* data, size_t size) {
if (i+4 > size) break;
hh_ppu_addr_t ppu_addr = (data[i+0] << 8) | (data[i+1] << 0);
hh_ppu_data_t ppu_data = (data[i+2] << 8) | (data[i+3] << 0);
- // printf("%04x: %04x\n", ppu_addr, ppu_data);
+ printf("%04x: %04x\n", ppu_addr, ppu_data);
if (!hh_ppu_vram_valid_address(ppu_addr)) continue;
g_hh_ppusim_vram[ppu_addr] = ppu_data;
}