diff --git a/src/ppu.rs b/src/ppu.rs index c7843b5721fc7a92ba674c50c24ff273e53188bc..f50b080de44c91e83fcec231b83c2a2c738e2fd6 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -178,6 +178,9 @@ impl Ppu { } } + /// Updates the tile structure with the value that has + /// just been written to a location on the VRAM associated + /// with tiles. pub fn update_tile(&mut self, addr: u16, _value: u8) { let addr = addr & 0x1ffe; let tile_index = (addr >> 4) & 0x01ff;