diff options
Diffstat (limited to 'src/mame/drivers/hp16500.cpp')
-rw-r--r-- | src/mame/drivers/hp16500.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/hp16500.cpp b/src/mame/drivers/hp16500.cpp index d1783557ad7..4cbe85a3f35 100644 --- a/src/mame/drivers/hp16500.cpp +++ b/src/mame/drivers/hp16500.cpp @@ -66,13 +66,13 @@ public: { } virtual void video_start() override; - UINT32 screen_update_hp16500(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); - UINT32 screen_update_hp16500a(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); + uint32_t screen_update_hp16500(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); + uint32_t screen_update_hp16500a(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); required_device<cpu_device> m_maincpu; - std::vector<UINT8> m_vram; + std::vector<uint8_t> m_vram; - UINT8 m_mask, m_val; + uint8_t m_mask, m_val; DECLARE_WRITE32_MEMBER(palette_w); @@ -99,7 +99,7 @@ public: INTERRUPT_GEN_MEMBER(vblank); private: - UINT32 m_palette[256], m_colors[3], m_count, m_clutoffs; + uint32_t m_palette[256], m_colors[3], m_count, m_clutoffs; }; READ32_MEMBER(hp16500_state::vbl_state_r) @@ -133,7 +133,7 @@ WRITE_LINE_MEMBER( hp16500_state::vsync_changed ) MC6845_UPDATE_ROW( hp16500_state::crtc_update_row ) { - UINT32 *p = &bitmap.pix32(y); + uint32_t *p = &bitmap.pix32(y); int i, pos; pos = y * 144; @@ -155,7 +155,7 @@ MC6845_UPDATE_ROW( hp16500_state::crtc_update_row ) MC6845_UPDATE_ROW( hp16500_state::crtc_update_row_1650 ) { - UINT32 *p = &bitmap.pix32(y); + uint32_t *p = &bitmap.pix32(y); int i, pos; pos = y * 148; @@ -279,7 +279,7 @@ static ADDRESS_MAP_START(hp16500a_map, AS_PROGRAM, 16, hp16500_state) AM_RANGE(0x980000, 0xa7ffff) AM_RAM ADDRESS_MAP_END -UINT32 hp16500_state::screen_update_hp16500a(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) +uint32_t hp16500_state::screen_update_hp16500a(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { return 0; } @@ -375,12 +375,12 @@ WRITE32_MEMBER(hp16500_state::palette_w) // 4 bpp // addr = ((Y * 0xfc0) + 0x360) + (X * 4) -UINT32 hp16500_state::screen_update_hp16500(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) +uint32_t hp16500_state::screen_update_hp16500(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { int pos = 0; for (int y = 0; y < 384; y++) { - UINT32 *scanline = &bitmap.pix32(y); + uint32_t *scanline = &bitmap.pix32(y); for (int x = 0; x < 576; x+=4) { |