summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tugboat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tugboat.cpp')
-rw-r--r--src/mame/drivers/tugboat.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/tugboat.cpp b/src/mame/drivers/tugboat.cpp
index 0fd80a9e45d..f966679576a 100644
--- a/src/mame/drivers/tugboat.cpp
+++ b/src/mame/drivers/tugboat.cpp
@@ -52,10 +52,10 @@ public:
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
- required_shared_ptr<UINT8> m_ram;
+ required_shared_ptr<uint8_t> m_ram;
- UINT8 m_hd46505_0_reg[18];
- UINT8 m_hd46505_1_reg[18];
+ uint8_t m_hd46505_0_reg[18];
+ uint8_t m_hd46505_1_reg[18];
int m_reg0;
int m_reg1;
int m_ctrl;
@@ -72,7 +72,7 @@ public:
virtual void machine_reset() override;
DECLARE_PALETTE_INIT(tugboat);
- 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);
void draw_tilemap(bitmap_ind16 &bitmap,const rectangle &cliprect,
int addr,int gfx0,int gfx1,int transparency);
@@ -102,7 +102,7 @@ void tugboat_state::video_start()
just four 1k resistors. */
PALETTE_INIT_MEMBER(tugboat_state, tugboat)
{
- const UINT8 *color_prom = memregion("proms")->base();
+ const uint8_t *color_prom = memregion("proms")->base();
int i;
for (i = 0;i < palette.entries();i++)
@@ -178,7 +178,7 @@ void tugboat_state::draw_tilemap(bitmap_ind16 &bitmap,const rectangle &cliprect,
}
}
-UINT32 tugboat_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t tugboat_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
int startaddr0 = m_hd46505_0_reg[0x0c]*256 + m_hd46505_0_reg[0x0d];
int startaddr1 = m_hd46505_1_reg[0x0c]*256 + m_hd46505_1_reg[0x0d];