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/hunter2.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/hunter2.cpp')
-rw-r--r-- | src/mame/drivers/hunter2.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/hunter2.cpp b/src/mame/drivers/hunter2.cpp index 118181351c5..1657975efd0 100644 --- a/src/mame/drivers/hunter2.cpp +++ b/src/mame/drivers/hunter2.cpp @@ -67,8 +67,8 @@ public: DECLARE_WRITE_LINE_MEMBER(rxd_w); private: - UINT8 m_keydata; - UINT8 m_irq_mask; + uint8_t m_keydata; + uint8_t m_irq_mask; virtual void machine_reset() override; required_device<cpu_device> m_maincpu; required_device<speaker_sound_device> m_speaker; @@ -189,7 +189,7 @@ INPUT_PORTS_END READ8_MEMBER( hunter2_state::keyboard_r ) { - UINT8 i,data = 0xff; + uint8_t i,data = 0xff; for (i = 0; i < 7; i++) { if (!BIT(m_keydata, i)) @@ -204,7 +204,7 @@ READ8_MEMBER( hunter2_state::keyboard_r ) READ8_MEMBER( hunter2_state::serial_dsr_r ) { - UINT8 res = 0x00; + uint8_t res = 0x00; if(m_rs232->dsr_r()) res |= 0x80; @@ -220,7 +220,7 @@ WRITE8_MEMBER( hunter2_state::keyboard_w ) READ8_MEMBER( hunter2_state::serial_rx_r ) { - UINT8 res = 0x28; + uint8_t res = 0x28; if(m_rs232->rxd_r()) res |= 0x01; @@ -305,7 +305,7 @@ WRITE8_MEMBER( hunter2_state::memmap_w ) else if (data >= 0x80) { - UINT8 bank = data & 0x0f; + uint8_t bank = data & 0x0f; m_bank1->set_bank(16 + (bank*3)); m_bank2->set_bank(17 + (bank*3)); m_bank3->set_bank(18 + (bank*3)); @@ -324,7 +324,7 @@ void hunter2_state::machine_reset() // it is presumed that writing to rom will go nowhere DRIVER_INIT_MEMBER( hunter2_state, hunter2 ) { - UINT8 *ram = m_ram->base(); + uint8_t *ram = m_ram->base(); m_nvram->set_base(ram,m_ram->bytes()); } |