diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/bus/snes_ctrl/ctrl.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/bus/snes_ctrl/ctrl.cpp')
-rw-r--r-- | src/devices/bus/snes_ctrl/ctrl.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/snes_ctrl/ctrl.cpp b/src/devices/bus/snes_ctrl/ctrl.cpp index af8ed67db02..33d342e3d7f 100644 --- a/src/devices/bus/snes_ctrl/ctrl.cpp +++ b/src/devices/bus/snes_ctrl/ctrl.cpp @@ -57,7 +57,7 @@ device_snes_control_port_interface::~device_snes_control_port_interface() // snes_control_port_device - constructor //------------------------------------------------- -snes_control_port_device::snes_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +snes_control_port_device::snes_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, SNES_CONTROL_PORT, "Nintendo SNES / SFC control port", tag, owner, clock, "snes_control_port", __FILE__), device_slot_interface(mconfig, *this), m_device(nullptr) { @@ -85,29 +85,29 @@ void snes_control_port_device::device_start() } -UINT8 snes_control_port_device::read_pin4() +uint8_t snes_control_port_device::read_pin4() { - UINT8 data = 0; + uint8_t data = 0; if (m_device) data |= m_device->read_pin4(); return data; } -UINT8 snes_control_port_device::read_pin5() +uint8_t snes_control_port_device::read_pin5() { - UINT8 data = 0; + uint8_t data = 0; if (m_device) data |= m_device->read_pin5(); return data; } -void snes_control_port_device::write_strobe(UINT8 data) +void snes_control_port_device::write_strobe(uint8_t data) { if (m_device) m_device->write_strobe(data); } -void snes_control_port_device::write_pin6(UINT8 data) +void snes_control_port_device::write_pin6(uint8_t data) { if (m_device) m_device->write_pin6(data); |