summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/ppu2c0x.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-03-11 20:04:17 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2020-03-11 20:04:17 +0100
commit59337f9e503618cf287a1888da376010d6611682 (patch)
tree092fe65b1aae8aec16cd9bbe4cb80ecdcf25c670 /src/devices/video/ppu2c0x.h
parent29f838fe84ff1de3ff852c3f8421fbe2b6b0067d (diff)
src/devices: simplified some handlers (nw)
Diffstat (limited to 'src/devices/video/ppu2c0x.h')
-rw-r--r--src/devices/video/ppu2c0x.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/ppu2c0x.h b/src/devices/video/ppu2c0x.h
index 1a9900393e2..66857549c63 100644
--- a/src/devices/video/ppu2c0x.h
+++ b/src/devices/video/ppu2c0x.h
@@ -63,10 +63,10 @@ public:
// are non-rendering and non-vblank.
};
- virtual DECLARE_READ8_MEMBER( read );
- virtual DECLARE_WRITE8_MEMBER( write );
- virtual DECLARE_READ8_MEMBER( palette_read );
- virtual DECLARE_WRITE8_MEMBER( palette_write );
+ virtual uint8_t read(offs_t offset);
+ virtual void write(offs_t offset, uint8_t data);
+ virtual uint8_t palette_read(offs_t offset);
+ virtual void palette_write(offs_t offset, uint8_t data);
template <typename T> void set_cpu_tag(T &&tag) { m_cpu.set_tag(std::forward<T>(tag)); }
auto int_callback() { return m_int_callback.bind(); }