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/cgenie.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/cgenie.cpp')
-rw-r--r-- | src/mame/drivers/cgenie.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/cgenie.cpp b/src/mame/drivers/cgenie.cpp index 6756cf3c3dc..3423ce62cdb 100644 --- a/src/mame/drivers/cgenie.cpp +++ b/src/mame/drivers/cgenie.cpp @@ -80,8 +80,8 @@ private: required_device<rs232_port_device> m_rs232; required_device<expansion_slot_device> m_exp; required_memory_region m_char_rom; - required_shared_ptr<UINT8> m_color_ram; - required_shared_ptr<UINT8> m_font_ram; + required_shared_ptr<uint8_t> m_color_ram; + required_shared_ptr<uint8_t> m_font_ram; required_ioport_array<8> m_keyboard; static const rgb_t m_palette_bg[]; @@ -91,7 +91,7 @@ private: const rgb_t *m_palette; rgb_t m_background_color; - UINT8 m_control; + uint8_t m_control; int m_rs232_rx; int m_rs232_dcd; @@ -219,7 +219,7 @@ INPUT_PORTS_END READ8_MEMBER( cgenie_state::keyboard_r ) { - UINT8 data = 0; + uint8_t data = 0; for (int i = 0; i < 8; i++) if (BIT(offset, i)) @@ -260,7 +260,7 @@ WRITE8_MEMBER( cgenie_state::control_w ) READ8_MEMBER( cgenie_state::control_r ) { - UINT8 data = 0; + uint8_t data = 0; data |= m_cassette->input() > 0 ? 1 : 0; data |= m_rs232_rx << 1; @@ -332,8 +332,8 @@ MC6845_UPDATE_ROW( cgenie_state::crtc_update_row ) for (int column = 0; column < x_count; column++) { - UINT8 code = m_ram->pointer()[ma + column]; - UINT8 color = m_color_ram[(ma & 0xbff) + column]; + uint8_t code = m_ram->pointer()[ma + column]; + uint8_t color = m_color_ram[(ma & 0xbff) + column]; // gfx mode? if (BIT(m_control, 5)) @@ -347,7 +347,7 @@ MC6845_UPDATE_ROW( cgenie_state::crtc_update_row ) } else { - UINT8 gfx = 0; + uint8_t gfx = 0; // cursor visible? if (cursor_x == column) |