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/mpu5.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/mpu5.cpp')
-rw-r--r-- | src/mame/drivers/mpu5.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/mpu5.cpp b/src/mame/drivers/mpu5.cpp index d3c6c3cd39d..62227614415 100644 --- a/src/mame/drivers/mpu5.cpp +++ b/src/mame/drivers/mpu5.cpp @@ -205,20 +205,20 @@ public: : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } - UINT32* m_cpuregion; - std::unique_ptr<UINT32[]> m_mainram; + uint32_t* m_cpuregion; + std::unique_ptr<uint32_t[]> m_mainram; SEC sec; - UINT8 m_led_strobe_temp; - UINT8 m_led_strobe; - UINT8 m_pic_clk; + uint8_t m_led_strobe_temp; + uint8_t m_led_strobe; + uint8_t m_pic_clk; bool m_pic_transfer_in_progress; - UINT8 m_pic_bit1; - UINT8 m_pic_data; - UINT8 m_pic_clocked_bits; - UINT8 m_pic_stored_input; - UINT8 m_pic_output_bit; - UINT8 m_input_strobe; + uint8_t m_pic_bit1; + uint8_t m_pic_data; + uint8_t m_pic_clocked_bits; + uint8_t m_pic_stored_input; + uint8_t m_pic_output_bit; + uint8_t m_input_strobe; DECLARE_READ32_MEMBER(mpu5_mem_r); DECLARE_WRITE32_MEMBER(mpu5_mem_w); @@ -269,7 +269,7 @@ READ8_MEMBER(mpu5_state::asic_r8) READ32_MEMBER(mpu5_state::asic_r32) { - UINT32 retdata = 0; + uint32_t retdata = 0; if (ACCESSING_BITS_24_31) retdata |= asic_r8(space,(offset*4)+0) <<24; if (ACCESSING_BITS_16_23) retdata |= asic_r8(space,(offset*4)+1) <<16; if (ACCESSING_BITS_8_15) retdata |= asic_r8(space,(offset*4)+2) <<8; @@ -534,8 +534,8 @@ INPUT_PORTS_END void mpu5_state::machine_start() { - m_cpuregion = (UINT32*)memregion( "maincpu" )->base(); - m_mainram = make_unique_clear<UINT32[]>(0x10000); + m_cpuregion = (uint32_t*)memregion( "maincpu" )->base(); + m_mainram = make_unique_clear<uint32_t[]>(0x10000); m_pic_output_bit =0; } |