summaryrefslogtreecommitdiffstats
path: root/src/mame/video/wecleman.cpp
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2019-07-20 12:31:21 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2019-07-20 12:31:21 +1000
commitd2926fa02cef5bf728eac74c9e5586aced02a80b (patch)
tree820d62305954ff68c7c8bb87c8a08d1b7ce4b2c3 /src/mame/video/wecleman.cpp
parent24c462dbdb4ed2992af2f8767bf9c56979e7f1be (diff)
parent68139508715a0375e657add4197582271ef446ec (diff)
Merge remote-tracking branch 'upstream/master'
# Conflicts: # src/emu/digfx.h
Diffstat (limited to 'src/mame/video/wecleman.cpp')
-rw-r--r--src/mame/video/wecleman.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/wecleman.cpp b/src/mame/video/wecleman.cpp
index 5169aeb8349..4bb6c0c1120 100644
--- a/src/mame/video/wecleman.cpp
+++ b/src/mame/video/wecleman.cpp
@@ -542,7 +542,7 @@ void wecleman_state::wecleman_draw_road(bitmap_rgb32 &bitmap, const rectangle &c
};
- const uint16_t *src_ptr;
+ const uint8_t *src_ptr;
const pen_t *pal_ptr, *rgb_ptr;
int scrollx, sy, sx;
@@ -643,7 +643,7 @@ void wecleman_state::draw_cloud(bitmap_rgb32 &bitmap,
int tmw_l2, int tmh_l2, // tilemap width and height in log(2)
int alpha, int pal_offset ) // alpha(0-3f), # of color codes to shift
{
- const uint16_t *src_ptr;
+ const uint8_t *src_ptr;
uint16_t *tmap_ptr;
uint32_t *dst_base, *dst_ptr;
const pen_t *pal_base, *pal_ptr;
@@ -944,7 +944,7 @@ VIDEO_START_MEMBER(wecleman_state,wecleman)
m_txt_tilemap->set_scrolly(0, -BMP_PAD );
// patches out a mysterious pixel floating in the sky (tile decoding bug?)
- *const_cast<uint16_t *>(m_gfxdecode->gfx(0)->get_data(0xaca)+7) = 0;
+ *const_cast<uint8_t *>(m_gfxdecode->gfx(0)->get_data(0xaca)+7) = 0;
}
// Callbacks for the K051316