summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sms_ctrl/joypad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sms_ctrl/joypad.cpp')
-rw-r--r--src/devices/bus/sms_ctrl/joypad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/sms_ctrl/joypad.cpp b/src/devices/bus/sms_ctrl/joypad.cpp
index 99ca264cec4..e750e2435ab 100644
--- a/src/devices/bus/sms_ctrl/joypad.cpp
+++ b/src/devices/bus/sms_ctrl/joypad.cpp
@@ -64,7 +64,7 @@ ioport_constructor sms_joypad_device::device_input_ports() const
// sms_joypad_device - constructor
//-------------------------------------------------
-sms_joypad_device::sms_joypad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+sms_joypad_device::sms_joypad_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, SMS_JOYPAD, "Sega SMS Control Pad", tag, owner, clock, "sms_joypad", __FILE__),
device_sms_control_port_interface(mconfig, *this),
m_joypad(*this, "JOYPAD")
@@ -85,7 +85,7 @@ void sms_joypad_device::device_start()
// sms_peripheral_r - joypad read
//-------------------------------------------------
-UINT8 sms_joypad_device::peripheral_r()
+uint8_t sms_joypad_device::peripheral_r()
{
return m_joypad->read();
}