summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/ax20.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/ax20.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (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/ax20.cpp')
-rw-r--r--src/mame/drivers/ax20.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/ax20.cpp b/src/mame/drivers/ax20.cpp
index 8d5ca0fae06..7d81ff8479c 100644
--- a/src/mame/drivers/ax20.cpp
+++ b/src/mame/drivers/ax20.cpp
@@ -32,13 +32,13 @@ public:
m_fdc(*this, "fdc") { }
required_device<cpu_device> m_maincpu;
- required_shared_ptr<UINT8> m_p_vram;
+ required_shared_ptr<uint8_t> m_p_vram;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
required_device<i8272a_device> m_fdc;
virtual void machine_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);
DECLARE_READ8_MEMBER(unk_r);
DECLARE_WRITE8_MEMBER(tc_w);
@@ -60,13 +60,13 @@ WRITE8_MEMBER(ax20_state::ctl_w)
m_fdc->subdevice<floppy_connector>("0")->get_device()->mon_w(!(data & 1));
}
-UINT32 ax20_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t ax20_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
for ( int y = 0; y < 24; y++ )
{
for ( int x = 0; x < 80; x++ )
{
- UINT16 tile = m_p_vram[24 + y * 128 + x ] & 0x7f;
+ uint16_t tile = m_p_vram[24 + y * 128 + x ] & 0x7f;
m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, tile, 0, 0, 0, x*8, y*12);
}