summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/ironhors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/ironhors.c')
-rw-r--r--src/mame/video/ironhors.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/video/ironhors.c b/src/mame/video/ironhors.c
index 22bf3afcafa..402576d0c4d 100644
--- a/src/mame/video/ironhors.c
+++ b/src/mame/video/ironhors.c
@@ -178,7 +178,7 @@ void ironhors_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
switch (sr[offs + 4] & 0x0c)
{
case 0x00: /* 16x16 */
- m_gfxdecode->gfx(1)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code/4,
color,
flipx,flipy,
@@ -189,12 +189,12 @@ void ironhors_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
{
if (flip_screen()) sy += 8; // this fixes the train wheels' position
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code & ~1,
color,
flipx,flipy,
flipx?sx+8:sx,sy,0);
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code | 1,
color,
flipx,flipy,
@@ -204,12 +204,12 @@ void ironhors_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
case 0x08: /* 8x16 */
{
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code & ~2,
color,
flipx,flipy,
sx,flipy?sy+8:sy,0);
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code | 2,
color,
flipx,flipy,
@@ -219,7 +219,7 @@ void ironhors_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
case 0x0c: /* 8x8 */
{
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code,
color,
flipx,flipy,
@@ -287,7 +287,7 @@ void ironhors_state::farwest_draw_sprites( bitmap_ind16 &bitmap, const rectangle
switch (sr[offs + 3] & 0x0c)
{
case 0x00: /* 16x16 */
- m_gfxdecode->gfx(1)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(1)->transpen(bitmap,cliprect,
code/4,
color,
flipx,flipy,
@@ -298,12 +298,12 @@ void ironhors_state::farwest_draw_sprites( bitmap_ind16 &bitmap, const rectangle
{
if (flip_screen()) sy += 8; // this fixes the train wheels' position
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code & ~1,
color,
flipx,flipy,
flipx?sx+8:sx,sy,0);
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code | 1,
color,
flipx,flipy,
@@ -313,12 +313,12 @@ void ironhors_state::farwest_draw_sprites( bitmap_ind16 &bitmap, const rectangle
case 0x08: /* 8x16 */
{
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code & ~2,
color,
flipx,flipy,
sx,flipy?sy+8:sy,0);
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code | 2,
color,
flipx,flipy,
@@ -328,7 +328,7 @@ void ironhors_state::farwest_draw_sprites( bitmap_ind16 &bitmap, const rectangle
case 0x0c: /* 8x8 */
{
- m_gfxdecode->gfx(2)->transpen(m_palette,bitmap,cliprect,
+ m_gfxdecode->gfx(2)->transpen(bitmap,cliprect,
code,
color,
flipx,flipy,