diff options
Diffstat (limited to 'src/devices/video/snes_ppu.h')
-rw-r--r-- | src/devices/video/snes_ppu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/snes_ppu.h b/src/devices/video/snes_ppu.h index 0906526d6db..7f1bb18a49c 100644 --- a/src/devices/video/snes_ppu.h +++ b/src/devices/video/snes_ppu.h @@ -299,10 +299,10 @@ protected: uint8_t read_object(uint16_t address); void write_object(uint16_t address, uint8_t data); - DECLARE_READ8_MEMBER( cgram_read ); - DECLARE_WRITE8_MEMBER( cgram_write ); - DECLARE_READ8_MEMBER( vram_read ); - DECLARE_WRITE8_MEMBER( vram_write ); + uint8_t cgram_read(offs_t offset); + void cgram_write(offs_t offset, uint8_t data); + uint8_t vram_read(offs_t offset); + void vram_write(offs_t offset, uint8_t data); object m_objects[128]; /* Object Attribute Memory (OAM) */ std::unique_ptr<uint16_t[]> m_cgram; /* Palette RAM */ std::unique_ptr<uint8_t[]> m_vram; /* Video RAM (TODO: Should be 16-bit, but it's easier this way) */ |