summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes_ctrl/partytap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes_ctrl/partytap.cpp')
-rw-r--r--src/devices/bus/nes_ctrl/partytap.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/nes_ctrl/partytap.cpp b/src/devices/bus/nes_ctrl/partytap.cpp
index 2a1acd8adc9..dfa8683f73d 100644
--- a/src/devices/bus/nes_ctrl/partytap.cpp
+++ b/src/devices/bus/nes_ctrl/partytap.cpp
@@ -43,7 +43,7 @@ ioport_constructor nes_partytap_device::device_input_ports() const
// nes_partytap_device - constructor
//-------------------------------------------------
-nes_partytap_device::nes_partytap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+nes_partytap_device::nes_partytap_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, NES_PARTYTAP, "Yonezawa Party Tap Controller", tag, owner, clock, "nes_partytap", __FILE__),
device_nes_control_port_interface(mconfig, *this),
m_inputs(*this, "INPUTS"), m_mode(0), m_latch(0)
@@ -77,9 +77,9 @@ void nes_partytap_device::device_reset()
// read
//-------------------------------------------------
-UINT8 nes_partytap_device::read_exp(offs_t offset)
+uint8_t nes_partytap_device::read_exp(offs_t offset)
{
- UINT8 ret = 0;
+ uint8_t ret = 0;
if (offset == 1) //$4017
{
ret |= m_latch & 0x1c;
@@ -94,7 +94,7 @@ UINT8 nes_partytap_device::read_exp(offs_t offset)
// write
//-------------------------------------------------
-void nes_partytap_device::write(UINT8 data)
+void nes_partytap_device::write(uint8_t data)
{
// inputs are read in two chunks of 3 bits, before the second one is read bit2 is written here
// probably a mechanism for the game to detect which group of inputs is being read