summaryrefslogtreecommitdiffstats
path: root/src/devices/video/snes_ppu.h
diff options
context:
space:
mode:
authorGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2020-03-11 20:04:17 +0100
committerGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2020-03-11 20:04:17 +0100
commit59337f9e503618cf287a1888da376010d6611682 (patch)
tree092fe65b1aae8aec16cd9bbe4cb80ecdcf25c670 /src/devices/video/snes_ppu.h
parent29f838fe84ff1de3ff852c3f8421fbe2b6b0067d (diff)
src/devices: simplified some handlers (nw)
Diffstat (limited to 'src/devices/video/snes_ppu.h')
-rw-r--r--src/devices/video/snes_ppu.h8
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) */