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/machine/74145.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/machine/74145.cpp')
-rw-r--r-- | src/devices/machine/74145.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/74145.cpp b/src/devices/machine/74145.cpp index f85439398de..218a65829f5 100644 --- a/src/devices/machine/74145.cpp +++ b/src/devices/machine/74145.cpp @@ -59,7 +59,7 @@ const device_type TTL74145 = &device_creator<ttl74145_device>; // ttl74145_device - constructor //------------------------------------------------- -ttl74145_device::ttl74145_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +ttl74145_device::ttl74145_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, TTL74145, "TTL74145", tag, owner, clock, "ttl74145", __FILE__) , m_output_line_0_cb(*this) , m_output_line_1_cb(*this) @@ -111,10 +111,10 @@ void ttl74145_device::device_reset() IMPLEMENTATION ***************************************************************************/ -void ttl74145_device::write(UINT8 data) +void ttl74145_device::write(uint8_t data) { /* decode number */ - UINT16 new_number = bcd_2_dec(data & 0x0f); + uint16_t new_number = bcd_2_dec(data & 0x0f); /* call output callbacks if the number changed */ if (new_number != m_number) @@ -136,7 +136,7 @@ void ttl74145_device::write(UINT8 data) } -UINT16 ttl74145_device::read() +uint16_t ttl74145_device::read() { return (1 << m_number) & 0x3ff; } |