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/goodejan.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/goodejan.cpp')
-rw-r--r-- | src/mame/drivers/goodejan.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/goodejan.cpp b/src/mame/drivers/goodejan.cpp index e4114cbea34..319c036c2f7 100644 --- a/src/mame/drivers/goodejan.cpp +++ b/src/mame/drivers/goodejan.cpp @@ -93,21 +93,21 @@ public: required_device<gfxdecode_device> m_gfxdecode; required_device<palette_device> m_palette; - required_shared_ptr<UINT16> m_sc0_vram; - required_shared_ptr<UINT16> m_sc1_vram; - required_shared_ptr<UINT16> m_sc2_vram; - required_shared_ptr<UINT16> m_sc3_vram; - required_shared_ptr<UINT16> m_spriteram16; + required_shared_ptr<uint16_t> m_sc0_vram; + required_shared_ptr<uint16_t> m_sc1_vram; + required_shared_ptr<uint16_t> m_sc2_vram; + required_shared_ptr<uint16_t> m_sc3_vram; + required_shared_ptr<uint16_t> m_spriteram16; tilemap_t *m_sc0_tilemap; tilemap_t *m_sc1_tilemap; tilemap_t *m_sc2_tilemap; tilemap_t *m_sc3_tilemap; - UINT16 m_mux_data; - UINT16 m_seibucrtc_sc0bank; - UINT16 m_layer_en; - UINT16 m_scrollram[6]; + uint16_t m_mux_data; + uint16_t m_seibucrtc_sc0bank; + uint16_t m_layer_en; + uint16_t m_scrollram[6]; DECLARE_WRITE16_MEMBER(gfxbank_w); DECLARE_READ16_MEMBER(mahjong_panel_r); @@ -126,10 +126,10 @@ public: INTERRUPT_GEN_MEMBER(irq); - void seibucrtc_sc0bank_w(UINT16 data); + void seibucrtc_sc0bank_w(uint16_t data); void draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect,int pri); virtual void video_start() override; - UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); }; /******************************* @@ -263,7 +263,7 @@ WRITE16_MEMBER( goodejan_state::seibucrtc_sc3vram_w ) m_sc3_tilemap->mark_tile_dirty(offset); } -void goodejan_state::seibucrtc_sc0bank_w(UINT16 data) +void goodejan_state::seibucrtc_sc0bank_w(uint16_t data) { m_seibucrtc_sc0bank = data & 1; m_sc0_tilemap->mark_all_dirty(); @@ -364,7 +364,7 @@ void goodejan_state::video_start() save_item(NAME(m_scrollram)); } -UINT32 goodejan_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t goodejan_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { bitmap.fill(m_palette->pen(0x7ff), cliprect); //black pen @@ -403,7 +403,7 @@ WRITE16_MEMBER(goodejan_state::gfxbank_w) /* Multiplexer device for the mahjong panel */ READ16_MEMBER(goodejan_state::mahjong_panel_r) { - UINT16 ret; + uint16_t ret; ret = 0xffff; switch(m_mux_data) |