diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/bus/sat_ctrl/pointer.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (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/pointer.cpp')
-rw-r--r-- | src/devices/bus/sat_ctrl/pointer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/sat_ctrl/pointer.cpp b/src/devices/bus/sat_ctrl/pointer.cpp index 9762286dbbe..efc39966085 100644 --- a/src/devices/bus/sat_ctrl/pointer.cpp +++ b/src/devices/bus/sat_ctrl/pointer.cpp @@ -50,7 +50,7 @@ ioport_constructor saturn_track_device::device_input_ports() const // saturn_track_device - constructor //------------------------------------------------- -saturn_track_device::saturn_track_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +saturn_track_device::saturn_track_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, SATURN_TRACK, "Sega Saturn Pointing Controller / Trackball", tag, owner, clock, "saturn_track", __FILE__), device_saturn_control_port_interface(mconfig, *this), m_pointx(*this, "POINT_X"), @@ -83,12 +83,12 @@ void saturn_track_device::device_reset() // read_ctrl //------------------------------------------------- -UINT8 saturn_track_device::read_ctrl(UINT8 offset) +uint8_t saturn_track_device::read_ctrl(uint8_t offset) { - UINT8 res = 0; - UINT8 mouse_ctrl = m_buttons->read(); - INT16 mouse_x = m_pointx->read(); - INT16 mouse_y = m_pointy->read(); + uint8_t res = 0; + uint8_t mouse_ctrl = m_buttons->read(); + int16_t mouse_x = m_pointx->read(); + int16_t mouse_y = m_pointy->read(); if (mouse_x < 0) mouse_ctrl |= 0x10; |