summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sat_ctrl/joy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sat_ctrl/joy.cpp')
-rw-r--r--src/devices/bus/sat_ctrl/joy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/sat_ctrl/joy.cpp b/src/devices/bus/sat_ctrl/joy.cpp
index ff2ebb0733e..9a4ef6fd378 100644
--- a/src/devices/bus/sat_ctrl/joy.cpp
+++ b/src/devices/bus/sat_ctrl/joy.cpp
@@ -53,7 +53,7 @@ ioport_constructor saturn_joy_device::device_input_ports() const
// saturn_joy_device - constructor
//-------------------------------------------------
-saturn_joy_device::saturn_joy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+saturn_joy_device::saturn_joy_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, SATURN_JOY, "Sega Saturn Joypad", tag, owner, clock, "saturn_joy", __FILE__),
device_saturn_control_port_interface(mconfig, *this),
m_joy(*this, "JOY")
@@ -84,9 +84,9 @@ void saturn_joy_device::device_reset()
// read_ctrl
//-------------------------------------------------
-UINT8 saturn_joy_device::read_ctrl(UINT8 offset)
+uint8_t saturn_joy_device::read_ctrl(uint8_t offset)
{
- UINT8 res = 0;
+ uint8_t res = 0;
switch (offset)
{
case 0:
@@ -104,7 +104,7 @@ UINT8 saturn_joy_device::read_ctrl(UINT8 offset)
// read_direct
//-------------------------------------------------
-UINT16 saturn_joy_device::read_direct()
+uint16_t saturn_joy_device::read_direct()
{
return m_joy->read();
}