diff options
Diffstat (limited to 'src/mame/drivers/albazg.cpp')
-rw-r--r-- | src/mame/drivers/albazg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/albazg.cpp b/src/mame/drivers/albazg.cpp index f0014116c37..f5d2978b4be 100644 --- a/src/mame/drivers/albazg.cpp +++ b/src/mame/drivers/albazg.cpp @@ -56,17 +56,17 @@ public: m_gfxdecode(*this, "gfxdecode") { } /* memory pointers */ - required_shared_ptr<UINT8> m_cus_ram; - required_shared_ptr<UINT8> m_videoram; - required_shared_ptr<UINT8> m_colorram; + required_shared_ptr<uint8_t> m_cus_ram; + required_shared_ptr<uint8_t> m_videoram; + required_shared_ptr<uint8_t> m_colorram; /* video-related */ tilemap_t *m_bg_tilemap; /* misc */ - UINT8 m_mux_data; + uint8_t m_mux_data; int m_bank; - UINT8 m_prot_lock; + uint8_t m_prot_lock; DECLARE_WRITE8_MEMBER(yumefuda_vram_w); DECLARE_WRITE8_MEMBER(yumefuda_cram_w); DECLARE_READ8_MEMBER(custom_ram_r); @@ -79,7 +79,7 @@ public: virtual void machine_start() override; virtual void machine_reset() override; virtual void video_start() override; - UINT32 screen_update_yumefuda(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_yumefuda(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); required_device<cpu_device> m_maincpu; required_device<gfxdecode_device> m_gfxdecode; }; @@ -101,7 +101,7 @@ void albazg_state::video_start() m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(albazg_state::y_get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); } -UINT32 albazg_state::screen_update_yumefuda(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t albazg_state::screen_update_yumefuda(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { m_bg_tilemap->draw(screen, bitmap, cliprect, 0, 0); return 0; @@ -328,7 +328,7 @@ INPUT_PORTS_END void albazg_state::machine_start() { - UINT8 *ROM = memregion("maincpu")->base(); + uint8_t *ROM = memregion("maincpu")->base(); membank("bank1")->configure_entries(0, 4, &ROM[0x10000], 0x2000); |