summaryrefslogtreecommitdiffstats
path: root/src/devices/bus/vcs_ctrl/keypad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vcs_ctrl/keypad.cpp')
-rw-r--r--src/devices/bus/vcs_ctrl/keypad.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/vcs_ctrl/keypad.cpp b/src/devices/bus/vcs_ctrl/keypad.cpp
index b1a1f2079d6..9d16b5a8f2d 100644
--- a/src/devices/bus/vcs_ctrl/keypad.cpp
+++ b/src/devices/bus/vcs_ctrl/keypad.cpp
@@ -53,7 +53,7 @@ ioport_constructor vcs_keypad_device::device_input_ports() const
// vcs_keypad_device - constructor
//-------------------------------------------------
-vcs_keypad_device::vcs_keypad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+vcs_keypad_device::vcs_keypad_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, VCS_KEYPAD, "Atari / CBM Keypad", tag, owner, clock, "vcs_keypad", __FILE__),
device_vcs_control_port_interface(mconfig, *this),
m_keypad(*this, "KEYPAD"), m_column(0)
@@ -76,7 +76,7 @@ void vcs_keypad_device::device_start()
// vcs_joy_w - joystick write
//-------------------------------------------------
-UINT8 vcs_keypad_device::vcs_joy_r()
+uint8_t vcs_keypad_device::vcs_joy_r()
{
for ( int i = 0; i < 4; i++ )
{
@@ -95,12 +95,12 @@ UINT8 vcs_keypad_device::vcs_joy_r()
return 0xff;
}
-void vcs_keypad_device::vcs_joy_w( UINT8 data )
+void vcs_keypad_device::vcs_joy_w( uint8_t data )
{
m_column = data & 0x0F;
}
-UINT8 vcs_keypad_device::vcs_pot_x_r()
+uint8_t vcs_keypad_device::vcs_pot_x_r()
{
for ( int i = 0; i < 4; i++ )
{
@@ -119,7 +119,7 @@ UINT8 vcs_keypad_device::vcs_pot_x_r()
return 0;
}
-UINT8 vcs_keypad_device::vcs_pot_y_r()
+uint8_t vcs_keypad_device::vcs_pot_y_r()
{
for ( int i = 0; i < 4; i++ )
{