diff options
Diffstat (limited to 'src/devices/bus/psx/ctlrport.h')
-rw-r--r-- | src/devices/bus/psx/ctlrport.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/bus/psx/ctlrport.h b/src/devices/bus/psx/ctlrport.h index 2058cf4868c..718ac8fb35d 100644 --- a/src/devices/bus/psx/ctlrport.h +++ b/src/devices/bus/psx/ctlrport.h @@ -77,6 +77,11 @@ private: required_ioport m_pad1; }; +#define MCFG_PSX_CONTROLLER_PORTS_DSR_HANDLER(_devcb) \ + downcast<psxcontrollerports_device &>(*device).set_dsr_handler(DEVCB_##_devcb); + +#define MCFG_PSX_CONTROLLER_PORTS_RXD_HANDLER(_devcb) \ + downcast<psxcontrollerports_device &>(*device).set_rxd_handler(DEVCB_##_devcb); class psxcontrollerports_device : public device_t { |