summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cgenie/parallel/joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cgenie/parallel/joystick.cpp')
-rw-r--r--src/devices/bus/cgenie/parallel/joystick.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/cgenie/parallel/joystick.cpp b/src/devices/bus/cgenie/parallel/joystick.cpp
index 0971226d8e0..caeeee8cfe0 100644
--- a/src/devices/bus/cgenie/parallel/joystick.cpp
+++ b/src/devices/bus/cgenie/parallel/joystick.cpp
@@ -92,7 +92,7 @@ ioport_constructor cgenie_joystick_device::device_input_ports() const
// cgenie_joystick_device - constructor
//-------------------------------------------------
-cgenie_joystick_device::cgenie_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+cgenie_joystick_device::cgenie_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, CGENIE_JOYSTICK, "Joystick Interface EG2013", tag, owner, clock, "cgenie_joystick", __FILE__),
device_parallel_interface(mconfig, *this),
m_joy(*this, "JOY.%u", 0),
@@ -122,7 +122,7 @@ void cgenie_joystick_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
-void cgenie_joystick_device::pa_w(UINT8 data)
+void cgenie_joystick_device::pa_w(uint8_t data)
{
if (VERBOSE)
logerror("%s: pa_w %02x\n", tag(), data);
@@ -131,9 +131,9 @@ void cgenie_joystick_device::pa_w(UINT8 data)
m_select = data & 0x3f;
}
-UINT8 cgenie_joystick_device::pb_r()
+uint8_t cgenie_joystick_device::pb_r()
{
- UINT8 data = 0x0f;
+ uint8_t data = 0x0f;
// read button state
for (int i = 0; i < 4; i++)