diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/tec1.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/mame/drivers/tec1.cpp')
-rw-r--r-- | src/mame/drivers/tec1.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/tec1.cpp b/src/mame/drivers/tec1.cpp index f07ec5e7662..7172185f140 100644 --- a/src/mame/drivers/tec1.cpp +++ b/src/mame/drivers/tec1.cpp @@ -112,12 +112,12 @@ public: DECLARE_WRITE8_MEMBER( tec1_digit_w ); DECLARE_WRITE8_MEMBER( tecjmon_digit_w ); DECLARE_WRITE8_MEMBER( tec1_segment_w ); - UINT8 m_kbd; - UINT8 m_segment; - UINT8 m_digit; - UINT8 m_kbd_row; - UINT8 m_refresh[6]; - UINT8 tec1_convert_col_to_bin( UINT8 col, UINT8 row ); + uint8_t m_kbd; + uint8_t m_segment; + uint8_t m_digit; + uint8_t m_kbd_row; + uint8_t m_refresh[6]; + uint8_t tec1_convert_col_to_bin( uint8_t col, uint8_t row ); virtual void machine_reset() override; virtual void machine_start() override; TIMER_CALLBACK_MEMBER(tec1_kbd_callback); @@ -188,7 +188,7 @@ WRITE8_MEMBER( tec1_state::tecjmon_digit_w ) READ8_MEMBER( tec1_state::latch_r ) { // bit 7 - cass in ; bit 6 low = key pressed - UINT8 data = (m_key_pressed) ? 0 : 0x40; + uint8_t data = (m_key_pressed) ? 0 : 0x40; if (m_cass->input() > 0.03) data |= 0x80; @@ -203,9 +203,9 @@ READ8_MEMBER( tec1_state::tec1_kbd_r ) return m_kbd | m_io_shift->read(); } -UINT8 tec1_state::tec1_convert_col_to_bin( UINT8 col, UINT8 row ) +uint8_t tec1_state::tec1_convert_col_to_bin( uint8_t col, uint8_t row ) { - UINT8 data = row; + uint8_t data = row; if (BIT(col, 1)) data |= 4; @@ -224,7 +224,7 @@ UINT8 tec1_state::tec1_convert_col_to_bin( UINT8 col, UINT8 row ) TIMER_CALLBACK_MEMBER(tec1_state::tec1_kbd_callback) { - UINT8 i; + uint8_t i; // Display the digits. Blank any digits that haven't been refreshed for a while. // This will fix the problem reported by a user. |