diff options
Diffstat (limited to 'src/devices/bus/macpds/hyperdrive.cpp')
-rw-r--r-- | src/devices/bus/macpds/hyperdrive.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/macpds/hyperdrive.cpp b/src/devices/bus/macpds/hyperdrive.cpp index 0c64d077765..ac688a1a620 100644 --- a/src/devices/bus/macpds/hyperdrive.cpp +++ b/src/devices/bus/macpds/hyperdrive.cpp @@ -159,7 +159,7 @@ void macpds_hyperdrive_device::device_start() install_rom(this, HYPERDRIVE_ROM_REGION, 0xf80000); // WD200x registers - m_macpds->install_device(0xfc0000, 0xfc000f, read16_delegate(FUNC(macpds_hyperdrive_device::hyperdrive_r), this), write16_delegate(FUNC(macpds_hyperdrive_device::hyperdrive_w), this)); + m_macpds->install_device(0xfc0000, 0xfc000f, read16sm_delegate(*this, FUNC(macpds_hyperdrive_device::hyperdrive_r)), write16sm_delegate(*this, FUNC(macpds_hyperdrive_device::hyperdrive_w))); } //------------------------------------------------- @@ -170,22 +170,22 @@ void macpds_hyperdrive_device::device_reset() { } -WRITE16_MEMBER( macpds_hyperdrive_device::hyperdrive_w ) +void macpds_hyperdrive_device::hyperdrive_w(offs_t offset, uint16_t data) { m_hdc->write(offset, data & 0xff); } -READ16_MEMBER( macpds_hyperdrive_device::hyperdrive_r ) +uint16_t macpds_hyperdrive_device::hyperdrive_r(offs_t offset) { return m_hdc->read(offset); } -WRITE8_MEMBER( macpds_hyperdrive_device::hdd_w ) +void macpds_hyperdrive_device::hdd_w(offs_t offset, uint8_t data) { // printf("hdd_w: %02x @ %x\n", data, offset); } -READ8_MEMBER( macpds_hyperdrive_device::hdd_r ) +uint8_t macpds_hyperdrive_device::hdd_r(offs_t offset) { // printf("hdd_r: @ %x\n", offset); return 0; |