From 59337f9e503618cf287a1888da376010d6611682 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Wed, 11 Mar 2020 20:04:17 +0100 Subject: src/devices: simplified some handlers (nw) --- src/devices/video/snes_ppu.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/devices/video/snes_ppu.h') 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 m_cgram; /* Palette RAM */ std::unique_ptr m_vram; /* Video RAM (TODO: Should be 16-bit, but it's easier this way) */ -- cgit v1.2.3