diff options
| author | 2020-03-31 18:58:53 +0200 | |
|---|---|---|
| committer | 2020-03-31 18:58:53 +0200 | |
| commit | ae008b65e0966dbd76efba8ea912c26f3003be27 (patch) | |
| tree | 0d646367ec73fb0f1eed8109609fd8dc1a6915ef /src/devices/cpu/powerpc | |
| parent | 68b4451635cd0afb045c5c2f77bc4962c109b4d5 (diff) | |
devices/cpu: simplified some handlers (nw)
Diffstat (limited to 'src/devices/cpu/powerpc')
| -rw-r--r-- | src/devices/cpu/powerpc/ppc.h | 4 | ||||
| -rw-r--r-- | src/devices/cpu/powerpc/ppccom.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/powerpc/ppc.h b/src/devices/cpu/powerpc/ppc.h index 3924125b805..8714fb570aa 100644 --- a/src/devices/cpu/powerpc/ppc.h +++ b/src/devices/cpu/powerpc/ppc.h @@ -757,8 +757,8 @@ public: void ppc4xx_set_dcr_read_handler(read32_delegate dcr_read_func); void ppc4xx_set_dcr_write_handler(write32_delegate dcr_write_func); - DECLARE_READ8_MEMBER( ppc4xx_spu_r ); - DECLARE_WRITE8_MEMBER( ppc4xx_spu_w ); + uint8_t ppc4xx_spu_r(offs_t offset); + void ppc4xx_spu_w(offs_t offset, uint8_t data); void internal_ppc4xx(address_map &map); protected: diff --git a/src/devices/cpu/powerpc/ppccom.cpp b/src/devices/cpu/powerpc/ppccom.cpp index 10133d73a01..aaf40f8acac 100644 --- a/src/devices/cpu/powerpc/ppccom.cpp +++ b/src/devices/cpu/powerpc/ppccom.cpp @@ -2772,7 +2772,7 @@ updateirq: ppc4xx_spu_r - serial port read handler -------------------------------------------------*/ -READ8_MEMBER( ppc4xx_device::ppc4xx_spu_r ) +uint8_t ppc4xx_device::ppc4xx_spu_r(offs_t offset) { uint8_t result = 0xff; @@ -2798,7 +2798,7 @@ READ8_MEMBER( ppc4xx_device::ppc4xx_spu_r ) ppc4xx_spu_w - serial port write handler -------------------------------------------------*/ -WRITE8_MEMBER( ppc4xx_device::ppc4xx_spu_w ) +void ppc4xx_device::ppc4xx_spu_w(offs_t offset, uint8_t data) { uint8_t oldstate, newstate; |
