summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vcs_ctrl/wheel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vcs_ctrl/wheel.cpp')
-rw-r--r--src/devices/bus/vcs_ctrl/wheel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/vcs_ctrl/wheel.cpp b/src/devices/bus/vcs_ctrl/wheel.cpp
index 9d1f3009596..e9374c65ece 100644
--- a/src/devices/bus/vcs_ctrl/wheel.cpp
+++ b/src/devices/bus/vcs_ctrl/wheel.cpp
@@ -46,7 +46,7 @@ ioport_constructor vcs_wheel_device::device_input_ports() const
// vcs_wheel_device - constructor
//-------------------------------------------------
-vcs_wheel_device::vcs_wheel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+vcs_wheel_device::vcs_wheel_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, VCS_WHEEL, "Atari / CBM Driving Wheel", tag, owner, clock, "vcs_wheel", __FILE__),
device_vcs_control_port_interface(mconfig, *this),
m_joy(*this, "JOY"),
@@ -68,9 +68,9 @@ void vcs_wheel_device::device_start()
// vcs_joy_r - joystick read
//-------------------------------------------------
-UINT8 vcs_wheel_device::vcs_joy_r()
+uint8_t vcs_wheel_device::vcs_joy_r()
{
- static const UINT8 driving_lookup[4] = { 0x00, 0x02, 0x03, 0x01 };
+ static const uint8_t driving_lookup[4] = { 0x00, 0x02, 0x03, 0x01 };
return m_joy->read() | driving_lookup[ ( m_wheel->read() & 0x18 ) >> 3 ];
}