diff options
Diffstat (limited to 'src/devices/bus/neogeo_ctrl/mahjong.cpp')
-rw-r--r-- | src/devices/bus/neogeo_ctrl/mahjong.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/neogeo_ctrl/mahjong.cpp b/src/devices/bus/neogeo_ctrl/mahjong.cpp index ed55fefc1b0..d77403ed255 100644 --- a/src/devices/bus/neogeo_ctrl/mahjong.cpp +++ b/src/devices/bus/neogeo_ctrl/mahjong.cpp @@ -93,19 +93,19 @@ ioport_constructor neogeo_mjctrl_device::device_input_ports() const // neogeo_joystick_device - constructor //------------------------------------------------- -neogeo_mjctrl_ac_device::neogeo_mjctrl_ac_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +neogeo_mjctrl_ac_device::neogeo_mjctrl_ac_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) , device_neogeo_control_port_interface(mconfig, *this) , m_mjpanel(*this, "MJ.%u", 0) { } -neogeo_mjctrl_ac_device::neogeo_mjctrl_ac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +neogeo_mjctrl_ac_device::neogeo_mjctrl_ac_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : neogeo_mjctrl_ac_device(mconfig, NEOGEO_MJCTRL_AC, "SNK Neo Geo Arcade Mahjong panel", tag, owner, clock, "neogeo_mjac", __FILE__) { } -neogeo_mjctrl_device::neogeo_mjctrl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +neogeo_mjctrl_device::neogeo_mjctrl_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : neogeo_mjctrl_ac_device(mconfig, NEOGEO_MJCTRL, "SNK Neo Geo Mahjong controller", tag, owner, clock, "neogeo_mjctrl", __FILE__), m_ss(*this, "START_SELECT") { @@ -136,9 +136,9 @@ void neogeo_mjctrl_ac_device::device_reset() // read_ctrl //------------------------------------------------- -UINT8 neogeo_mjctrl_ac_device::read_ctrl() +uint8_t neogeo_mjctrl_ac_device::read_ctrl() { - UINT8 res = 0; + uint8_t res = 0; switch (m_ctrl_sel) { default: @@ -156,7 +156,7 @@ UINT8 neogeo_mjctrl_ac_device::read_ctrl() // write_ctrlsel //------------------------------------------------- -void neogeo_mjctrl_ac_device::write_ctrlsel(UINT8 data) +void neogeo_mjctrl_ac_device::write_ctrlsel(uint8_t data) { m_ctrl_sel = data; } @@ -165,7 +165,7 @@ void neogeo_mjctrl_ac_device::write_ctrlsel(UINT8 data) // read_start_sel //------------------------------------------------- -UINT8 neogeo_mjctrl_device::read_start_sel() +uint8_t neogeo_mjctrl_device::read_start_sel() { return m_ss->read(); } |