summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/jonos.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/jonos.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/jonos.cpp')
-rw-r--r--src/mame/drivers/jonos.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/jonos.cpp b/src/mame/drivers/jonos.cpp
index 9188de5bc70..b487877e81d 100644
--- a/src/mame/drivers/jonos.cpp
+++ b/src/mame/drivers/jonos.cpp
@@ -31,10 +31,10 @@ public:
{ }
DECLARE_DRIVER_INIT(jonos);
- UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- required_shared_ptr<UINT8> m_p_videoram;
+ uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ required_shared_ptr<uint8_t> m_p_videoram;
private:
- const UINT8 *m_p_chargen;
+ const uint8_t *m_p_chargen;
virtual void machine_reset() override;
virtual void video_start() override;
required_device<cpu_device> m_maincpu;
@@ -65,16 +65,16 @@ void jonos_state::video_start()
m_p_chargen = memregion("chargen")->base();
}
-UINT32 jonos_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t jonos_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- UINT8 y,ra,chr,gfx;
- UINT16 sy=0,ma=0,x;
+ uint8_t y,ra,chr,gfx;
+ uint16_t sy=0,ma=0,x;
for (y = 0; y < 25; y++)
{
for (ra = 0; ra < 12; ra++)
{
- UINT16 *p = &bitmap.pix16(sy++);
+ uint16_t *p = &bitmap.pix16(sy++);
for (x = ma; x < ma + 80; x++)
{