diff options
Diffstat (limited to 'src/mame/drivers/sshot.cpp')
-rw-r--r-- | src/mame/drivers/sshot.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/sshot.cpp b/src/mame/drivers/sshot.cpp index 67132d5215e..7eb2c4eba6e 100644 --- a/src/mame/drivers/sshot.cpp +++ b/src/mame/drivers/sshot.cpp @@ -177,14 +177,14 @@ public: m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode") { } - required_shared_ptr<UINT8> m_videoram; + required_shared_ptr<uint8_t> m_videoram; tilemap_t *m_tilemap; DECLARE_WRITE8_MEMBER(supershot_vidram_w); DECLARE_WRITE8_MEMBER(supershot_output0_w); DECLARE_WRITE8_MEMBER(supershot_output1_w); TILE_GET_INFO_MEMBER(get_supershot_text_tile_info); virtual void video_start() override; - UINT32 screen_update_supershot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_supershot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); required_device<cpu_device> m_maincpu; required_device<gfxdecode_device> m_gfxdecode; }; @@ -198,7 +198,7 @@ public: TILE_GET_INFO_MEMBER(supershot_state::get_supershot_text_tile_info) { - UINT8 code = m_videoram[tile_index]; + uint8_t code = m_videoram[tile_index]; SET_TILE_INFO_MEMBER(0, code, 0, 0); } @@ -207,7 +207,7 @@ void supershot_state::video_start() m_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(supershot_state::get_supershot_text_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); } -UINT32 supershot_state::screen_update_supershot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t supershot_state::screen_update_supershot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { m_tilemap->draw(screen, bitmap, cliprect, 0, 0); return 0; |