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/sbrain.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/sbrain.cpp')
-rw-r--r-- | src/mame/drivers/sbrain.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/sbrain.cpp b/src/mame/drivers/sbrain.cpp index 9bc9709113c..41800fd1249 100644 --- a/src/mame/drivers/sbrain.cpp +++ b/src/mame/drivers/sbrain.cpp @@ -66,9 +66,9 @@ public: m_bank2(*this, "bank2") {} public: - const UINT8 *m_p_chargen; - UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - required_shared_ptr<UINT8> m_p_videoram; + const uint8_t *m_p_chargen; + uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + required_shared_ptr<uint8_t> m_p_videoram; DECLARE_DRIVER_INIT(sbrain); DECLARE_MACHINE_RESET(sbrain); DECLARE_READ8_MEMBER(ppi_pa_r); @@ -83,10 +83,10 @@ public: DECLARE_WRITE_LINE_MEMBER(fr_w); DECLARE_WRITE_LINE_MEMBER(ft_w); private: - UINT8 m_porta; - UINT8 m_portb; - UINT8 m_portc; - UINT8 m_port08; + uint8_t m_porta; + uint8_t m_portb; + uint8_t m_portc; + uint8_t m_port08; required_device<cpu_device> m_maincpu; required_device<cpu_device> m_subcpu; required_device<beep_device> m_beep; @@ -213,7 +213,7 @@ d7 : cpu2 /busak line */ READ8_MEMBER( sbrain_state::ppi_pb_r ) { - return m_portb | 0x50 | m_vs->read() | (BIT(m_port08, 0) << 5) | ((UINT8)BIT(m_portc, 5) << 7); + return m_portb | 0x50 | m_vs->read() | (BIT(m_port08, 0) << 5) | ((uint8_t)BIT(m_portc, 5) << 7); } WRITE8_MEMBER( sbrain_state::ppi_pb_w ) @@ -254,8 +254,8 @@ INPUT_PORTS_END DRIVER_INIT_MEMBER( sbrain_state, sbrain ) { - UINT8 *main = memregion("maincpu")->base(); - UINT8 *sub = memregion("subcpu")->base(); + uint8_t *main = memregion("maincpu")->base(); + uint8_t *sub = memregion("subcpu")->base(); m_bankr0->configure_entry(0, &main[0x0000]); m_bankr0->configure_entry(1, &sub[0x0000]); @@ -277,16 +277,16 @@ MACHINE_RESET_MEMBER( sbrain_state, sbrain ) m_subcpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE); // hold subcpu in reset } -UINT32 sbrain_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t sbrain_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - UINT8 y,ra,chr,gfx; - UINT16 sy=0,ma=0,x; + uint8_t y,ra,chr,gfx; + uint16_t sy=0,ma=0,x; for (y = 0; y < 24; y++) { for (ra = 0; ra < 10; ra++) { - UINT16 *p = &bitmap.pix16(sy++); + uint16_t *p = &bitmap.pix16(sy++); for (x = 0; x < 80; x++) { |