summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/snes_ctrl/ctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/snes_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/snes_ctrl/ctrl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/snes_ctrl/ctrl.cpp b/src/devices/bus/snes_ctrl/ctrl.cpp
index af8ed67db02..33d342e3d7f 100644
--- a/src/devices/bus/snes_ctrl/ctrl.cpp
+++ b/src/devices/bus/snes_ctrl/ctrl.cpp
@@ -57,7 +57,7 @@ device_snes_control_port_interface::~device_snes_control_port_interface()
// snes_control_port_device - constructor
//-------------------------------------------------
-snes_control_port_device::snes_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+snes_control_port_device::snes_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, SNES_CONTROL_PORT, "Nintendo SNES / SFC control port", tag, owner, clock, "snes_control_port", __FILE__),
device_slot_interface(mconfig, *this), m_device(nullptr)
{
@@ -85,29 +85,29 @@ void snes_control_port_device::device_start()
}
-UINT8 snes_control_port_device::read_pin4()
+uint8_t snes_control_port_device::read_pin4()
{
- UINT8 data = 0;
+ uint8_t data = 0;
if (m_device)
data |= m_device->read_pin4();
return data;
}
-UINT8 snes_control_port_device::read_pin5()
+uint8_t snes_control_port_device::read_pin5()
{
- UINT8 data = 0;
+ uint8_t data = 0;
if (m_device)
data |= m_device->read_pin5();
return data;
}
-void snes_control_port_device::write_strobe(UINT8 data)
+void snes_control_port_device::write_strobe(uint8_t data)
{
if (m_device)
m_device->write_strobe(data);
}
-void snes_control_port_device::write_pin6(UINT8 data)
+void snes_control_port_device::write_pin6(uint8_t data)
{
if (m_device)
m_device->write_pin6(data);