summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coleco/hand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/coleco/hand.cpp')
-rw-r--r--src/devices/bus/coleco/hand.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/coleco/hand.cpp b/src/devices/bus/coleco/hand.cpp
index a00a1d89f4c..ce53e4246c2 100644
--- a/src/devices/bus/coleco/hand.cpp
+++ b/src/devices/bus/coleco/hand.cpp
@@ -19,8 +19,8 @@ const device_type COLECO_HAND_CONTROLLER = &device_creator<coleco_hand_controlle
CUSTOM_INPUT_MEMBER( coleco_hand_controller_t::keypad_r )
{
- UINT8 data = 0xf;
- UINT16 keypad = m_io_keypad->read();
+ uint8_t data = 0xf;
+ uint16_t keypad = m_io_keypad->read();
if (!BIT(keypad, 0)) data &= 0x0a;
if (!BIT(keypad, 1)) data &= 0x0d;
@@ -89,7 +89,7 @@ ioport_constructor coleco_hand_controller_t::device_input_ports() const
// coleco_hand_controller_t - constructor
//-------------------------------------------------
-coleco_hand_controller_t::coleco_hand_controller_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+coleco_hand_controller_t::coleco_hand_controller_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, COLECO_HAND_CONTROLLER, "ColecoVision Hand Controller", tag, owner, clock, "coleco_hand", __FILE__),
device_colecovision_control_port_interface(mconfig, *this),
m_io_common0(*this, "COMMON0"),
@@ -115,9 +115,9 @@ void coleco_hand_controller_t::device_start()
// joy_r - joystick read
//-------------------------------------------------
-UINT8 coleco_hand_controller_t::joy_r()
+uint8_t coleco_hand_controller_t::joy_r()
{
- UINT8 data = 0x7f;
+ uint8_t data = 0x7f;
if (!m_common0) data &= m_io_common0->read();
if (!m_common1) data &= m_io_common1->read();