diff options
Diffstat (limited to 'src/devices/video/huc6260.cpp')
-rw-r--r-- | src/devices/video/huc6260.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/huc6260.cpp b/src/devices/video/huc6260.cpp index 293d2cbd8cf..1160f7edf13 100644 --- a/src/devices/video/huc6260.cpp +++ b/src/devices/video/huc6260.cpp @@ -187,19 +187,19 @@ void huc6260_device::video_update( bitmap_ind16 &bitmap, const rectangle &clipre // the battlera arcade board reads/writes the palette directly -READ8_MEMBER(huc6260_device::palette_direct_read) +uint8_t huc6260_device::palette_direct_read(offs_t offset) { if (!(offset&1)) return m_palette[offset>>1]; else return m_palette[offset >> 1] >> 8; } -WRITE8_MEMBER(huc6260_device::palette_direct_write) +void huc6260_device::palette_direct_write(offs_t offset, uint8_t data) { if (!(offset&1)) m_palette[offset>>1] = (m_palette[offset>>1] & 0xff00) | data; else m_palette[offset>>1] = (m_palette[offset>>1] & 0x00ff) | (data<<8); } -READ8_MEMBER( huc6260_device::read ) +uint8_t huc6260_device::read(offs_t offset) { uint8_t data = 0xFF; @@ -221,7 +221,7 @@ READ8_MEMBER( huc6260_device::read ) } -WRITE8_MEMBER( huc6260_device::write ) +void huc6260_device::write(offs_t offset, uint8_t data) { switch ( offset & 7 ) { |