diff options
Diffstat (limited to 'src/devices/bus/snes_ctrl/twintap.cpp')
-rw-r--r-- | src/devices/bus/snes_ctrl/twintap.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/snes_ctrl/twintap.cpp b/src/devices/bus/snes_ctrl/twintap.cpp index 29db7df0029..5377ca8fb4f 100644 --- a/src/devices/bus/snes_ctrl/twintap.cpp +++ b/src/devices/bus/snes_ctrl/twintap.cpp @@ -49,7 +49,7 @@ ioport_constructor snes_twintap_device::device_input_ports() const // snes_twintap_device - constructor //------------------------------------------------- -snes_twintap_device::snes_twintap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +snes_twintap_device::snes_twintap_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, SNES_TWINTAP, "Yonezawa Twin Tap Controller", tag, owner, clock, "snes_twintap", __FILE__), device_snes_control_port_interface(mconfig, *this), m_inputs(*this, "INPUTS"), m_strobe(0), m_latch(0) @@ -92,9 +92,9 @@ void snes_twintap_device::port_poll() // read //------------------------------------------------- -UINT8 snes_twintap_device::read_pin4() +uint8_t snes_twintap_device::read_pin4() { - UINT8 ret = m_latch & 1; + uint8_t ret = m_latch & 1; m_latch >>= 1; return ret; } @@ -103,7 +103,7 @@ UINT8 snes_twintap_device::read_pin4() // write //------------------------------------------------- -void snes_twintap_device::write_strobe(UINT8 data) +void snes_twintap_device::write_strobe(uint8_t data) { int old = m_strobe; m_strobe = data & 0x01; |