diff options
Diffstat (limited to 'src/mame/drivers/beehive.cpp')
-rw-r--r-- | src/mame/drivers/beehive.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/beehive.cpp b/src/mame/drivers/beehive.cpp index f78fe9b9d7c..26215237621 100644 --- a/src/mame/drivers/beehive.cpp +++ b/src/mame/drivers/beehive.cpp @@ -35,12 +35,12 @@ public: required_device<cpu_device> m_maincpu; DECLARE_READ8_MEMBER(beehive_60_r); DECLARE_WRITE8_MEMBER(beehive_62_w); - const UINT8 *m_p_chargen; - required_shared_ptr<UINT8> m_p_videoram; - UINT8 m_keyline; + const uint8_t *m_p_chargen; + required_shared_ptr<uint8_t> m_p_videoram; + uint8_t m_keyline; 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); }; READ8_MEMBER(beehive_state::beehive_60_r) @@ -236,13 +236,13 @@ void beehive_state::video_start() /* This system appears to have inline attribute bytes of unknown meaning. Currently they are ignored. */ -UINT32 beehive_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t beehive_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { - UINT16 cursor_pos = (m_p_videoram[0xcaf] | (m_p_videoram[0xcb0] << 8)) & 0xfff; - UINT16 p_linelist; - UINT8 line_length; - UINT8 y,ra,chr,gfx,inv; - UINT16 sy=0,ma,x; + uint16_t cursor_pos = (m_p_videoram[0xcaf] | (m_p_videoram[0xcb0] << 8)) & 0xfff; + uint16_t p_linelist; + uint8_t line_length; + uint8_t y,ra,chr,gfx,inv; + uint16_t sy=0,ma,x; for (y = 0; y < 25; y++) { @@ -252,8 +252,8 @@ UINT32 beehive_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, for (ra = 0; ra < 10; ra++) { - UINT16 *p = &bitmap.pix16(sy++); - UINT8 chars = 0; + uint16_t *p = &bitmap.pix16(sy++); + uint8_t chars = 0; for (x = ma; x < ma + line_length; x++) { |