summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/headonb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/headonb.cpp')
-rw-r--r--src/mame/drivers/headonb.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/headonb.cpp b/src/mame/drivers/headonb.cpp
index 6a0ad0b53e4..0cf030d632f 100644
--- a/src/mame/drivers/headonb.cpp
+++ b/src/mame/drivers/headonb.cpp
@@ -44,7 +44,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
- required_shared_ptr<UINT8> m_video_ram;
+ required_shared_ptr<uint8_t> m_video_ram;
tilemap_t *m_tilemap;
@@ -52,7 +52,7 @@ public:
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);
TILE_GET_INFO_MEMBER(get_tile_info);
};
@@ -66,7 +66,7 @@ public:
TILE_GET_INFO_MEMBER(headonb_state::get_tile_info)
{
- UINT8 code = m_video_ram[tile_index];
+ uint8_t code = m_video_ram[tile_index];
SET_TILE_INFO_MEMBER(0, code, 0, 0);
}
@@ -75,7 +75,7 @@ void headonb_state::video_start()
m_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(headonb_state::get_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
}
-UINT32 headonb_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t headonb_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
m_tilemap->draw(screen, bitmap, cliprect, 0, 0);
return 0;