summaryrefslogtreecommitdiff
path: root/ppu.c
diff options
context:
space:
mode:
Diffstat (limited to 'ppu.c')
-rw-r--r--ppu.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ppu.c b/ppu.c
index 4ae0162..5dc20a3 100644
--- a/ppu.c
+++ b/ppu.c
@@ -13,3 +13,16 @@ ppu_tick(void)
if (ppu.scanlines >= 262)
ppu.scanlines -= 262;
}
+
+uint8_t
+ppu_read(uint16_t addr)
+{
+}
+
+void
+ppu_write(uint16_t addr, uint8_t byte)
+{
+ static uint8_t prev;
+
+ prev = byte;
+}