summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sat_ctrl/ctrl.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/bus/sat_ctrl/ctrl.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/bus/sat_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/sat_ctrl/ctrl.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/bus/sat_ctrl/ctrl.cpp b/src/devices/bus/sat_ctrl/ctrl.cpp
index 2d5473bbb19..884dcd118d4 100644
--- a/src/devices/bus/sat_ctrl/ctrl.cpp
+++ b/src/devices/bus/sat_ctrl/ctrl.cpp
@@ -58,7 +58,7 @@ device_saturn_control_port_interface::~device_saturn_control_port_interface()
// saturn_control_port_device - constructor
//-------------------------------------------------
-saturn_control_port_device::saturn_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+saturn_control_port_device::saturn_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, SATURN_CONTROL_PORT, "Sega Saturn control port", tag, owner, clock, "saturn_control_port", __FILE__),
device_slot_interface(mconfig, *this), m_device(nullptr)
{
@@ -84,9 +84,9 @@ void saturn_control_port_device::device_start()
}
-UINT8 saturn_control_port_device::read_status()
+uint8_t saturn_control_port_device::read_status()
{
- UINT8 data = 0;
+ uint8_t data = 0;
if (m_device)
data |= m_device->read_status();
return data;
@@ -94,25 +94,25 @@ UINT8 saturn_control_port_device::read_status()
// Notice that the variable idx is only used by the multitap / segatap adapters
// Otherwise, any value is ignored and the unique controller ID is returned
-UINT8 saturn_control_port_device::read_id(int idx)
+uint8_t saturn_control_port_device::read_id(int idx)
{
- UINT8 data = 0;
+ uint8_t data = 0;
if (m_device)
data |= m_device->read_id(idx);
return data;
}
-UINT8 saturn_control_port_device::read_ctrl(UINT8 offset)
+uint8_t saturn_control_port_device::read_ctrl(uint8_t offset)
{
- UINT8 data = 0;
+ uint8_t data = 0;
if (m_device)
data |= m_device->read_ctrl(offset);
return data;
}
-UINT16 saturn_control_port_device::read_direct()
+uint16_t saturn_control_port_device::read_direct()
{
- UINT16 data = 0;
+ uint16_t data = 0;
if (m_device)
data |= m_device->read_direct();
return data;