summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/modellot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/modellot.cpp')
-rw-r--r--src/mame/drivers/modellot.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/modellot.cpp b/src/mame/drivers/modellot.cpp
index 215d966e890..06d7fc007be 100644
--- a/src/mame/drivers/modellot.cpp
+++ b/src/mame/drivers/modellot.cpp
@@ -35,11 +35,11 @@ public:
DECLARE_READ8_MEMBER(port77_r);
DECLARE_READ8_MEMBER(portff_r);
DECLARE_WRITE8_MEMBER(kbd_put);
- UINT32 screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- required_shared_ptr<UINT8> m_p_videoram;
+ uint32_t screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ required_shared_ptr<uint8_t> m_p_videoram;
private:
- UINT8 m_term_data;
- const UINT8 *m_p_chargen;
+ uint8_t m_term_data;
+ const uint8_t *m_p_chargen;
virtual void machine_reset() override;
required_device<cpu_device> m_maincpu;
};
@@ -70,7 +70,7 @@ READ8_MEMBER( modellot_state::port77_r)
READ8_MEMBER( modellot_state::portff_r)
{
- UINT8 data = (m_term_data) ? m_term_data ^ 0x7f : 0xff;
+ uint8_t data = (m_term_data) ? m_term_data ^ 0x7f : 0xff;
m_term_data = 0;
return data;
}
@@ -104,16 +104,16 @@ static GFXDECODE_START( modellot )
GFXDECODE_END
-UINT32 modellot_state::screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t modellot_state::screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- UINT8 y,ra,chr,gfx,inv;
- UINT16 sy=0,ma=0,x;
+ uint8_t y,ra,chr,gfx,inv;
+ uint16_t sy=0,ma=0,x;
for (y = 0; y < 16; y++)
{
for (ra = 0; ra < 16; ra++)
{
- UINT16 *p = &bitmap.pix16(sy++);
+ uint16_t *p = &bitmap.pix16(sy++);
for (x = 0; x < 64; x++)
{