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/nes_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/nes_ctrl/ctrl.cpp')
-rw-r--r-- | src/devices/bus/nes_ctrl/ctrl.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/nes_ctrl/ctrl.cpp b/src/devices/bus/nes_ctrl/ctrl.cpp index a1ef7dc9c1a..66afea1e4bc 100644 --- a/src/devices/bus/nes_ctrl/ctrl.cpp +++ b/src/devices/bus/nes_ctrl/ctrl.cpp @@ -100,7 +100,7 @@ device_nes_control_port_interface::~device_nes_control_port_interface() // nes_control_port_device - constructor //------------------------------------------------- -nes_control_port_device::nes_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +nes_control_port_device::nes_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, NES_CONTROL_PORT, "Nintendo NES/FC control port", tag, owner, clock, "nes_control_port", __FILE__), device_slot_interface(mconfig, *this), m_device(nullptr) { @@ -127,31 +127,31 @@ void nes_control_port_device::device_start() } -UINT8 nes_control_port_device::read_bit0() +uint8_t nes_control_port_device::read_bit0() { - UINT8 data = 0; + uint8_t data = 0; if (m_device) data = m_device->read_bit0(); return data; } -UINT8 nes_control_port_device::read_bit34() +uint8_t nes_control_port_device::read_bit34() { - UINT8 data = 0; + uint8_t data = 0; if (m_device) data = m_device->read_bit34(); return data; } -UINT8 nes_control_port_device::read_exp(offs_t offset) +uint8_t nes_control_port_device::read_exp(offs_t offset) { - UINT8 data = 0; + uint8_t data = 0; if (m_device) data = m_device->read_exp(offset); return data; } -void nes_control_port_device::write(UINT8 data) +void nes_control_port_device::write(uint8_t data) { if (m_device) m_device->write(data); |