summaryrefslogtreecommitdiffstats
path: root/src/mame/video/skyraid.cpp
diff options
context:
space:
mode:
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);