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/mwarr.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/mwarr.cpp')
-rw-r--r-- | src/mame/drivers/mwarr.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/drivers/mwarr.cpp b/src/mame/drivers/mwarr.cpp index aded5d473f4..6d34a3363e8 100644 --- a/src/mame/drivers/mwarr.cpp +++ b/src/mame/drivers/mwarr.cpp @@ -69,16 +69,16 @@ public: m_palette(*this, "palette") { } /* memory pointers */ - required_shared_ptr<UINT16> m_bg_videoram; - required_shared_ptr<UINT16> m_mlow_videoram; - required_shared_ptr<UINT16> m_mhigh_videoram; - required_shared_ptr<UINT16> m_tx_videoram; - required_shared_ptr<UINT16> m_bg_scrollram; - required_shared_ptr<UINT16> m_mlow_scrollram; - required_shared_ptr<UINT16> m_mhigh_scrollram; - required_shared_ptr<UINT16> m_vidattrram; - required_shared_ptr<UINT16> m_spriteram; - required_shared_ptr<UINT16> m_mwarr_ram; + required_shared_ptr<uint16_t> m_bg_videoram; + required_shared_ptr<uint16_t> m_mlow_videoram; + required_shared_ptr<uint16_t> m_mhigh_videoram; + required_shared_ptr<uint16_t> m_tx_videoram; + required_shared_ptr<uint16_t> m_bg_scrollram; + required_shared_ptr<uint16_t> m_mlow_scrollram; + required_shared_ptr<uint16_t> m_mhigh_scrollram; + required_shared_ptr<uint16_t> m_vidattrram; + required_shared_ptr<uint16_t> m_spriteram; + required_shared_ptr<uint16_t> m_mwarr_ram; /* video-related */ tilemap_t *m_bg_tilemap; @@ -89,7 +89,7 @@ public: /* misc */ int m_which; - UINT16 m_sprites_buffer[0x800]; + uint16_t m_sprites_buffer[0x800]; DECLARE_WRITE16_MEMBER(bg_videoram_w); DECLARE_WRITE16_MEMBER(mlow_videoram_w); DECLARE_WRITE16_MEMBER(mhigh_videoram_w); @@ -104,7 +104,7 @@ public: virtual void machine_start() override; virtual void machine_reset() override; virtual void video_start() override; - UINT32 screen_update_mwarr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_mwarr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect ); required_device<cpu_device> m_maincpu; required_device<okim6295_device> m_oki2; @@ -415,8 +415,8 @@ void mwarr_state::video_start() void mwarr_state::draw_sprites( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect ) { - const UINT16 *source = m_sprites_buffer + 0x800 - 4; - const UINT16 *finish = m_sprites_buffer; + const uint16_t *source = m_sprites_buffer + 0x800 - 4; + const uint16_t *finish = m_sprites_buffer; gfx_element *gfx = m_gfxdecode->gfx(0); int x, y, color, flipx, dy, pri, pri_mask, i; @@ -479,7 +479,7 @@ void mwarr_state::draw_sprites( screen_device &screen, bitmap_ind16 &bitmap, con } } -UINT32 mwarr_state::screen_update_mwarr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t mwarr_state::screen_update_mwarr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { int i; |