diff options
Diffstat (limited to 'src/mame/video/flstory.c')
-rw-r--r-- | src/mame/video/flstory.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/flstory.c b/src/mame/video/flstory.c index ada062b6866..6c7993839a6 100644 --- a/src/mame/video/flstory.c +++ b/src/mame/video/flstory.c @@ -96,9 +96,9 @@ WRITE8_MEMBER(flstory_state::flstory_videoram_w) WRITE8_MEMBER(flstory_state::flstory_palette_w) { if (offset & 0x100) - paletteram_xxxxBBBBGGGGRRRR_byte_split_hi_w(space, (offset & 0xff) + (m_palette_bank << 8),data); + m_palette->write(space, (offset & 0xff) + (m_palette_bank << 8),data); else - paletteram_xxxxBBBBGGGGRRRR_byte_split_lo_w(space, (offset & 0xff) + (m_palette_bank << 8),data); + m_palette->write(space, (offset & 0xff) + (m_palette_bank << 8),data); } READ8_MEMBER(flstory_state::flstory_palette_r) @@ -187,14 +187,14 @@ void flstory_state::flstory_draw_sprites( bitmap_ind16 &bitmap, const rectangle flipx = ((m_spriteram[offs + 1] & 0x40) >> 6) ^ m_flipscreen; flipy = ((m_spriteram[offs + 1] & 0x80) >> 7) ^ m_flipscreen; - m_gfxdecode->gfx(1)->transpen(bitmap,cliprect, + m_gfxdecode->gfx(1)->transpen(m_palette,bitmap,cliprect, code, m_spriteram[offs + 1] & 0x0f, flipx,flipy, sx,sy,15); /* wrap around */ if (sx > 240) - m_gfxdecode->gfx(1)->transpen(bitmap,cliprect, + m_gfxdecode->gfx(1)->transpen(m_palette,bitmap,cliprect, code, m_spriteram[offs + 1] & 0x0f, flipx,flipy, @@ -242,14 +242,14 @@ void flstory_state::victnine_draw_sprites( bitmap_ind16 &bitmap, const rectangle flipx = ((m_spriteram[offs + 1] & 0x40) >> 6) ^ m_flipscreen; flipy = ((m_spriteram[offs + 1] & 0x80) >> 7) ^ m_flipscreen; - m_gfxdecode->gfx(1)->transpen(bitmap,cliprect, + m_gfxdecode->gfx(1)->transpen(m_palette,bitmap,cliprect, code, m_spriteram[offs + 1] & 0x0f, flipx,flipy, sx,sy,15); /* wrap around */ if (sx > 240) - m_gfxdecode->gfx(1)->transpen(bitmap,cliprect, + m_gfxdecode->gfx(1)->transpen(m_palette,bitmap,cliprect, code, m_spriteram[offs + 1] & 0x0f, flipx,flipy, |