diff options
Diffstat (limited to 'src/mame/drivers/witch.cpp')
-rw-r--r-- | src/mame/drivers/witch.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/witch.cpp b/src/mame/drivers/witch.cpp index c488382a987..d9b9054d903 100644 --- a/src/mame/drivers/witch.cpp +++ b/src/mame/drivers/witch.cpp @@ -262,19 +262,19 @@ public: required_device<cpu_device> m_subcpu; required_device<gfxdecode_device> m_gfxdecode; - required_shared_ptr<UINT8> m_gfx0_vram; - required_shared_ptr<UINT8> m_gfx0_cram; - required_shared_ptr<UINT8> m_gfx1_vram; - required_shared_ptr<UINT8> m_gfx1_cram; - required_shared_ptr<UINT8> m_sprite_ram; + required_shared_ptr<uint8_t> m_gfx0_vram; + required_shared_ptr<uint8_t> m_gfx0_cram; + required_shared_ptr<uint8_t> m_gfx1_vram; + required_shared_ptr<uint8_t> m_gfx1_cram; + required_shared_ptr<uint8_t> m_sprite_ram; required_device<palette_device> m_palette; required_device<ticket_dispenser_device> m_hopper; int m_scrollx; int m_scrolly; - UINT8 m_reg_a002; - UINT8 m_motor_active; + uint8_t m_reg_a002; + uint8_t m_motor_active; DECLARE_WRITE8_MEMBER(gfx0_vram_w); DECLARE_WRITE8_MEMBER(gfx0_cram_w); DECLARE_WRITE8_MEMBER(gfx1_vram_w); @@ -294,7 +294,7 @@ public: TILE_GET_INFO_MEMBER(get_gfx0a_tile_info); TILE_GET_INFO_MEMBER(get_gfx1_tile_info); virtual void video_start() override; - UINT32 screen_update_witch(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_witch(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); virtual void machine_reset() override; }; @@ -744,7 +744,7 @@ void witch_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect) } -UINT32 witch_state::screen_update_witch(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t witch_state::screen_update_witch(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { m_gfx1_tilemap->set_scrollx(0, m_scrollx-7 ); //offset to have it aligned with the sprites m_gfx1_tilemap->set_scrolly(0, m_scrolly+8 ); |