From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: 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 --- src/devices/bus/sat_ctrl/pointer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/devices/bus/sat_ctrl/pointer.cpp') 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; -- cgit v1.2.3-70-g09d2