diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/univac.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/univac.cpp')
-rw-r--r-- | src/mame/drivers/univac.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/univac.cpp b/src/mame/drivers/univac.cpp index 0a798a8af57..e2146e67586 100644 --- a/src/mame/drivers/univac.cpp +++ b/src/mame/drivers/univac.cpp @@ -44,15 +44,15 @@ public: DECLARE_READ8_MEMBER(vram_r); DECLARE_WRITE8_MEMBER(vram_w); DECLARE_WRITE8_MEMBER(port43_w); - 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); private: - const UINT8 *m_p_chargen; + const uint8_t *m_p_chargen; bool m_screen_num; - UINT8 m_framecnt; + uint8_t m_framecnt; virtual void machine_start() override; virtual void machine_reset() override; required_device<cpu_device> m_maincpu; - required_shared_ptr<UINT8> m_p_videoram; + required_shared_ptr<uint8_t> m_p_videoram; required_device<nvram_device> m_nvram; required_device<z80ctc_device> m_ctc; required_device<z80dart_device> m_dart; @@ -111,7 +111,7 @@ void univac_state::machine_reset() m_p_chargen = memregion("chargen")->base(); } -UINT32 univac_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t univac_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { // this is used to get the ctc to pass the test bool state = BIT(m_framecnt,0); @@ -120,9 +120,9 @@ UINT32 univac_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, m_ctc->trg2(state); m_ctc->trg3(state); - UINT8 y,ra,chr,gfx; - UINT16 sy=0,ma=0,x; - UINT8 *videoram = m_p_videoram;//+(m_screen_num ? 0x2000 : 0); + uint8_t y,ra,chr,gfx; + uint16_t sy=0,ma=0,x; + uint8_t *videoram = m_p_videoram;//+(m_screen_num ? 0x2000 : 0); m_framecnt++; @@ -130,7 +130,7 @@ UINT32 univac_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, { for (ra = 0; ra < 10; ra++) { - UINT16 *p = &bitmap.pix16(sy++); + uint16_t *p = &bitmap.pix16(sy++); for (x = ma; x < ma + 80; x++) { |