diff options
Diffstat (limited to 'src/mame/drivers/hvyunit.cpp')
-rw-r--r-- | src/mame/drivers/hvyunit.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mame/drivers/hvyunit.cpp b/src/mame/drivers/hvyunit.cpp index 9af6bcac668..a13120f1e67 100644 --- a/src/mame/drivers/hvyunit.cpp +++ b/src/mame/drivers/hvyunit.cpp @@ -102,20 +102,20 @@ public: required_device<generic_latch_8_device> m_soundlatch; /* Video */ - required_shared_ptr<UINT8> m_videoram; - required_shared_ptr<UINT8> m_colorram; + required_shared_ptr<uint8_t> m_videoram; + required_shared_ptr<uint8_t> m_colorram; tilemap_t *m_bg_tilemap; - UINT16 m_scrollx; - UINT16 m_scrolly; - UINT16 m_port0_data; + uint16_t m_scrollx; + uint16_t m_scrolly; + uint16_t m_port0_data; /* Mermaid */ - UINT8 m_data_to_mermaid; - UINT8 m_data_to_z80; - UINT8 m_mermaid_to_z80_full; - UINT8 m_z80_to_mermaid_full; - UINT8 m_mermaid_int0_l; - UINT8 m_mermaid_p[4]; + uint8_t m_data_to_mermaid; + uint8_t m_data_to_z80; + uint8_t m_mermaid_to_z80_full; + uint8_t m_z80_to_mermaid_full; + uint8_t m_mermaid_int0_l; + uint8_t m_mermaid_p[4]; DECLARE_WRITE8_MEMBER(trigger_nmi_on_slave_cpu); DECLARE_WRITE8_MEMBER(master_bankswitch_w); @@ -145,7 +145,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); void screen_eof(screen_device &screen, bool state); TIMER_DEVICE_CALLBACK_MEMBER(scanline); @@ -204,7 +204,7 @@ void hvyunit_state::video_start() save_item(NAME(m_port0_data)); } -UINT32 hvyunit_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t hvyunit_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { #define SX_POS 96 #define SY_POS 0 @@ -386,9 +386,9 @@ WRITE8_MEMBER(hvyunit_state::mermaid_p2_w) READ8_MEMBER(hvyunit_state::mermaid_p3_r) { - UINT8 dsw = 0; - UINT8 dsw1 = ioport("DSW1")->read(); - UINT8 dsw2 = ioport("DSW2")->read(); + uint8_t dsw = 0; + uint8_t dsw1 = ioport("DSW1")->read(); + uint8_t dsw2 = ioport("DSW2")->read(); switch ((m_mermaid_p[0] >> 5) & 3) { |