summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/pturn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pturn.cpp')
-rw-r--r--src/mame/drivers/pturn.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/pturn.cpp b/src/mame/drivers/pturn.cpp
index a8941d0b168..09978a2489e 100644
--- a/src/mame/drivers/pturn.cpp
+++ b/src/mame/drivers/pturn.cpp
@@ -99,8 +99,8 @@ public:
required_device<palette_device> m_palette;
required_device<generic_latch_8_device> m_soundlatch;
- required_shared_ptr<UINT8> m_videoram;
- required_shared_ptr<UINT8> m_spriteram;
+ required_shared_ptr<uint8_t> m_videoram;
+ required_shared_ptr<uint8_t> m_spriteram;
tilemap_t *m_fgmap;
tilemap_t *m_bgmap;
@@ -132,7 +132,7 @@ public:
virtual void machine_reset() override;
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);
INTERRUPT_GEN_MEMBER(sub_intgen);
INTERRUPT_GEN_MEMBER(main_intgen);
@@ -141,7 +141,7 @@ public:
-static const UINT8 tile_lookup[0x10]=
+static const uint8_t tile_lookup[0x10]=
{
0x00, 0x10, 0x40, 0x50,
0x20, 0x30, 0x60, 0x70,
@@ -185,7 +185,7 @@ void pturn_state::video_start()
save_item(NAME(m_bgcolor));
}
-UINT32 pturn_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t pturn_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
bitmap.fill(m_bgcolor, cliprect);
m_bgmap->draw(screen, bitmap, cliprect, 0,0);