summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/popeye.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/popeye.cpp')
-rw-r--r--src/mame/video/popeye.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/popeye.cpp b/src/mame/video/popeye.cpp
index 4dc90efe7ea..b5052e8a1b6 100644
--- a/src/mame/video/popeye.cpp
+++ b/src/mame/video/popeye.cpp
@@ -318,8 +318,8 @@ void tnx1_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
{
gfx_element *gfx = m_gfxdecode->gfx(1);
const pen_t *pal = &m_palette->pen(gfx->colorbase() + gfx->granularity() * (a->color % gfx->colors()));
- const uint16_t *source_base = gfx->get_data(a->code % gfx->elements());
- const uint16_t *source = source_base + (a->row ^ a->flipy) * gfx->rowbytes();
+ const uint8_t *source_base = gfx->get_data(a->code % gfx->elements());
+ const uint8_t *source = source_base + (a->row ^ a->flipy) * gfx->rowbytes();
if (bootleg_sprites() && flipx != a->flipx)
{