summaryrefslogtreecommitdiffstats
path: root/src/mame/video/skyraid.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/video/skyraid.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/video/skyraid.cpp')
-rw-r--r--src/mame/video/skyraid.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/video/skyraid.cpp b/src/mame/video/skyraid.cpp
index d82515f8b31..103b38cb0f0 100644
--- a/src/mame/video/skyraid.cpp
+++ b/src/mame/video/skyraid.cpp
@@ -18,7 +18,7 @@ void skyraid_state::video_start()
void skyraid_state::draw_text(bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- const UINT8* p = m_alpha_num_ram;
+ const uint8_t* p = m_alpha_num_ram;
int i;
@@ -37,7 +37,7 @@ void skyraid_state::draw_text(bitmap_ind16 &bitmap, const rectangle &cliprect)
void skyraid_state::draw_terrain(bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- const UINT8* p = memregion("user1")->base();
+ const uint8_t* p = memregion("user1")->base();
int x;
int y;
@@ -50,7 +50,7 @@ void skyraid_state::draw_terrain(bitmap_ind16 &bitmap, const rectangle &cliprect
while (x < bitmap.width())
{
- UINT8 val = p[offset++];
+ uint8_t val = p[offset++];
int color = val / 32;
int count = val % 32;
@@ -110,15 +110,15 @@ void skyraid_state::draw_missiles(bitmap_ind16 &bitmap, const rectangle &cliprec
void skyraid_state::draw_trapezoid(bitmap_ind16& dst, bitmap_ind16& src)
{
- const UINT8* p = memregion("user2")->base();
+ const uint8_t* p = memregion("user2")->base();
int x;
int y;
for (y = 0; y < dst.height(); y++)
{
- UINT16* pSrc = &src.pix16(y);
- UINT16* pDst = &dst.pix16(y);
+ uint16_t* pSrc = &src.pix16(y);
+ uint16_t* pDst = &dst.pix16(y);
int x1 = 0x000 + p[(y & ~1) + 0];
int x2 = 0x100 + p[(y & ~1) + 1];
@@ -129,7 +129,7 @@ void skyraid_state::draw_trapezoid(bitmap_ind16& dst, bitmap_ind16& src)
}
-UINT32 skyraid_state::screen_update_skyraid(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t skyraid_state::screen_update_skyraid(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
bitmap.fill(0, cliprect);