diff options
Diffstat (limited to 'src/mame/drivers/itt3030.cpp')
-rw-r--r-- | src/mame/drivers/itt3030.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/itt3030.cpp b/src/mame/drivers/itt3030.cpp index de73beedcd9..9d101935040 100644 --- a/src/mame/drivers/itt3030.cpp +++ b/src/mame/drivers/itt3030.cpp @@ -236,10 +236,10 @@ public: required_ioport_array<16> m_keyrows; // shared pointers - required_shared_ptr<UINT8> m_vram; + required_shared_ptr<uint8_t> m_vram; // screen updates - 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); protected: // driver_device overrides @@ -266,7 +266,7 @@ public: DECLARE_PALETTE_INIT(itt3030); private: - UINT8 m_kbdclk, m_kbdread, m_kbdport2; + uint8_t m_kbdclk, m_kbdread, m_kbdport2; required_device<gfxdecode_device> m_gfxdecode; required_device<palette_device> m_palette; floppy_image_device *m_curfloppy; @@ -276,7 +276,7 @@ private: READ8_MEMBER(itt3030_state::vsync_r) { - UINT8 ret = 0; + uint8_t ret = 0; if (machine().first_screen()->vblank()) { @@ -310,7 +310,7 @@ WRITE8_MEMBER(itt3030_state::bank_w) m_48kbank->set_bank(bank); } -UINT32 itt3030_state::screen_update( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t itt3030_state::screen_update( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { int start = m_crtc->upscroll_offset(); for(int y = 0; y < 24; y++ ) @@ -318,7 +318,7 @@ UINT32 itt3030_state::screen_update( screen_device &screen, bitmap_ind16 &bitmap int vramy = (start + y) % 24; for(int x = 0; x < 80; x++ ) { - UINT8 code = m_vram[x + vramy*128]; + uint8_t code = m_vram[x + vramy*128]; int invert = code & 0x80 ? 1 : 0; code &= 0x7f; m_gfxdecode->gfx(invert)->opaque(bitmap,cliprect, code , 0, 0,0, x*8,y*12); @@ -357,7 +357,7 @@ WRITE_LINE_MEMBER(itt3030_state::fdchld_w) */ READ8_MEMBER(itt3030_state::fdc_stat_r) { - UINT8 res = 0; + uint8_t res = 0; floppy_image_device *floppy1 = m_con1 ? m_con1->get_device() : nullptr; floppy_image_device *floppy2 = m_con2 ? m_con2->get_device() : nullptr; floppy_image_device *floppy3 = m_con3 ? m_con3->get_device() : nullptr; |