diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 13:13:17 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 13:13:17 +0200 |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/eti660.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/eti660.cpp')
-rw-r--r-- | src/mame/drivers/eti660.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/eti660.cpp b/src/mame/drivers/eti660.cpp index 74227888bb0..aabf6e6b055 100644 --- a/src/mame/drivers/eti660.cpp +++ b/src/mame/drivers/eti660.cpp @@ -42,14 +42,14 @@ READ8_MEMBER( eti660_state::pia_r ) { - UINT8 pia_offset = m_maincpu->get_memory_address() & 0x03; + uint8_t pia_offset = m_maincpu->get_memory_address() & 0x03; return m_pia->read(space, pia_offset); } WRITE8_MEMBER( eti660_state::pia_w ) { - UINT8 pia_offset = m_maincpu->get_memory_address() & 0x03; + uint8_t pia_offset = m_maincpu->get_memory_address() & 0x03; // Some PIA hacks here, as mentioned in the ToDo. if (pia_offset == 1) @@ -69,7 +69,7 @@ WRITE8_MEMBER( eti660_state::colorram_w ) { offset = m_maincpu->get_memory_address() - 0xc80; - UINT8 colorram_offset = (((offset & 0x1f0) >> 1) | (offset & 0x07)); + uint8_t colorram_offset = (((offset & 0x1f0) >> 1) | (offset & 0x07)); if (colorram_offset < 0xc0) m_color_ram[colorram_offset] = data; @@ -187,7 +187,7 @@ WRITE8_MEMBER( eti660_state::dma_w ) if (m_color_on) { - UINT8 colorram_offset = ((offset & 0x1f0) >> 1) | (offset & 0x07); + uint8_t colorram_offset = ((offset & 0x1f0) >> 1) | (offset & 0x07); if (colorram_offset < 0xc0) m_color = m_color_ram[colorram_offset]; @@ -218,7 +218,7 @@ READ8_MEMBER( eti660_state::pia_pa_r ) */ - UINT8 i, data = 0xff; + uint8_t i, data = 0xff; for (i = 0; i < 4; i++) if (BIT(m_keylatch, i)) @@ -267,7 +267,7 @@ QUICKLOAD_LOAD_MEMBER( eti660_state, eti660 ) int i; int quick_addr = 0x600; int quick_length; - std::vector<UINT8> quick_data; + std::vector<uint8_t> quick_data; int read_; image_init_result result = image_init_result::FAIL; |