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/modellot.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/modellot.cpp')
-rw-r--r-- | src/mame/drivers/modellot.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/modellot.cpp b/src/mame/drivers/modellot.cpp index 215d966e890..06d7fc007be 100644 --- a/src/mame/drivers/modellot.cpp +++ b/src/mame/drivers/modellot.cpp @@ -35,11 +35,11 @@ public: DECLARE_READ8_MEMBER(port77_r); DECLARE_READ8_MEMBER(portff_r); DECLARE_WRITE8_MEMBER(kbd_put); - UINT32 screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - required_shared_ptr<UINT8> m_p_videoram; + uint32_t screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + required_shared_ptr<uint8_t> m_p_videoram; private: - UINT8 m_term_data; - const UINT8 *m_p_chargen; + uint8_t m_term_data; + const uint8_t *m_p_chargen; virtual void machine_reset() override; required_device<cpu_device> m_maincpu; }; @@ -70,7 +70,7 @@ READ8_MEMBER( modellot_state::port77_r) READ8_MEMBER( modellot_state::portff_r) { - UINT8 data = (m_term_data) ? m_term_data ^ 0x7f : 0xff; + uint8_t data = (m_term_data) ? m_term_data ^ 0x7f : 0xff; m_term_data = 0; return data; } @@ -104,16 +104,16 @@ static GFXDECODE_START( modellot ) GFXDECODE_END -UINT32 modellot_state::screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t modellot_state::screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - UINT8 y,ra,chr,gfx,inv; - UINT16 sy=0,ma=0,x; + uint8_t y,ra,chr,gfx,inv; + uint16_t sy=0,ma=0,x; for (y = 0; y < 16; y++) { for (ra = 0; ra < 16; ra++) { - UINT16 *p = &bitmap.pix16(sy++); + uint16_t *p = &bitmap.pix16(sy++); for (x = 0; x < 64; x++) { |