summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sms_ctrl/multitap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sms_ctrl/multitap.cpp')
-rw-r--r--src/devices/bus/sms_ctrl/multitap.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/sms_ctrl/multitap.cpp b/src/devices/bus/sms_ctrl/multitap.cpp
index fd098b82c18..55101810647 100644
--- a/src/devices/bus/sms_ctrl/multitap.cpp
+++ b/src/devices/bus/sms_ctrl/multitap.cpp
@@ -27,7 +27,7 @@ const device_type SMS_MULTITAP = &device_creator<sms_multitap_device>;
// sms_multitap_device - constructor
//-------------------------------------------------
-sms_multitap_device::sms_multitap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+sms_multitap_device::sms_multitap_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, SMS_MULTITAP, "Sega SMS Multitap", tag, owner, clock, "sms_multitap", __FILE__),
device_sms_control_port_interface(mconfig, *this),
m_subctrl1_port(*this, "ctrl1"),
@@ -60,9 +60,9 @@ void sms_multitap_device::device_start()
// sms_peripheral_r - multitap read
//-------------------------------------------------
-UINT8 sms_multitap_device::peripheral_r()
+uint8_t sms_multitap_device::peripheral_r()
{
- UINT8 data = 0xff;
+ uint8_t data = 0xff;
switch(m_read_state)
{
@@ -91,9 +91,9 @@ UINT8 sms_multitap_device::peripheral_r()
// sms_peripheral_w - multitap write
//-------------------------------------------------
-void sms_multitap_device::peripheral_w(UINT8 data)
+void sms_multitap_device::peripheral_w(uint8_t data)
{
- UINT8 output_data;
+ uint8_t output_data;
// check if TH level is low (0) and was high (1)
if (!(data & 0x40) && (m_last_data & 0x40))