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/mirax.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/mirax.cpp')
-rw-r--r-- | src/mame/drivers/mirax.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/mirax.cpp b/src/mame/drivers/mirax.cpp index c4b11028968..01ca6221106 100644 --- a/src/mame/drivers/mirax.cpp +++ b/src/mame/drivers/mirax.cpp @@ -126,14 +126,14 @@ public: required_device<palette_device> m_palette; required_device<generic_latch_8_device> m_soundlatch; - required_shared_ptr<UINT8> m_videoram; - required_shared_ptr<UINT8> m_spriteram; - required_shared_ptr<UINT8> m_colorram; + required_shared_ptr<uint8_t> m_videoram; + required_shared_ptr<uint8_t> m_spriteram; + required_shared_ptr<uint8_t> m_colorram; - UINT8 m_nAyCtrl; - UINT8 m_nmi_mask; - UINT8 m_flipscreen_x; - UINT8 m_flipscreen_y; + uint8_t m_nAyCtrl; + uint8_t m_nmi_mask; + uint8_t m_flipscreen_x; + uint8_t m_flipscreen_y; DECLARE_WRITE8_MEMBER(audio_w); DECLARE_WRITE8_MEMBER(nmi_mask_w); @@ -148,8 +148,8 @@ public: DECLARE_PALETTE_INIT(mirax); virtual void machine_start() override; - UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - void draw_tilemap(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 draw_flag); + uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + void draw_tilemap(bitmap_ind16 &bitmap, const rectangle &cliprect, uint8_t draw_flag); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); INTERRUPT_GEN_MEMBER(vblank_irq); @@ -158,7 +158,7 @@ public: PALETTE_INIT_MEMBER(mirax_state, mirax) { - const UINT8 *color_prom = memregion("proms")->base(); + const uint8_t *color_prom = memregion("proms")->base(); int i; for (i = 0;i < palette.entries();i++) @@ -185,7 +185,7 @@ PALETTE_INIT_MEMBER(mirax_state, mirax) } -void mirax_state::draw_tilemap(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 draw_flag) +void mirax_state::draw_tilemap(bitmap_ind16 &bitmap, const rectangle &cliprect, uint8_t draw_flag) { gfx_element *gfx = m_gfxdecode->gfx(0); int y,x; @@ -238,7 +238,7 @@ void mirax_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect) } } -UINT32 mirax_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t mirax_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { draw_tilemap(bitmap,cliprect,1); draw_sprites(bitmap,cliprect); @@ -568,8 +568,8 @@ ROM_END DRIVER_INIT_MEMBER(mirax_state,mirax) { - UINT8 *DATA = memregion("data_code")->base(); - UINT8 *ROM = memregion("maincpu")->base(); + uint8_t *DATA = memregion("data_code")->base(); + uint8_t *ROM = memregion("maincpu")->base(); int i; for(i=0x0000;i<0x4000;i++) |