summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/exidy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/exidy.c')
-rw-r--r--src/mame/video/exidy.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/exidy.c b/src/mame/video/exidy.c
index 7410bed6842..f1712d501b1 100644
--- a/src/mame/video/exidy.c
+++ b/src/mame/video/exidy.c
@@ -95,7 +95,7 @@ READ8_MEMBER(exidy_state::exidy_interrupt_r)
inline void exidy_state::set_1_color(int index, int which)
{
- palette_set_color_rgb(machine(), index,
+ m_palette->set_pen_color(index,
pal1bit(m_color_latch[2] >> which),
pal1bit(m_color_latch[1] >> which),
pal1bit(m_color_latch[0] >> which));
@@ -216,7 +216,7 @@ void exidy_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
int sx = 236 - *m_sprite2_xpos - 4;
int sy = 244 - *m_sprite2_ypos - 4;
- m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
+ m_gfxdecode->gfx(0)->transpen(m_palette,bitmap,cliprect,
((*m_spriteno >> 4) & 0x0f) + 32 + 16 * sprite_set_2, 1,
0, 0, sx, sy, 0);
@@ -230,7 +230,7 @@ void exidy_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
if (sy < 0) sy = 0;
- m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,
+ m_gfxdecode->gfx(0)->transpen(m_palette,bitmap,cliprect,
(*m_spriteno & 0x0f) + 16 * sprite_set_1, 0,
0, 0, sx, sy, 0);
}
@@ -295,7 +295,7 @@ void exidy_state::check_collision()
{
org_1_x = 236 - *m_sprite1_xpos - 4;
org_1_y = 244 - *m_sprite1_ypos - 4;
- m_gfxdecode->gfx(0)->transpen(m_motion_object_1_vid,clip,
+ m_gfxdecode->gfx(0)->transpen(m_palette,m_motion_object_1_vid,clip,
(*m_spriteno & 0x0f) + 16 * sprite_set_1, 0,
0, 0, 0, 0, 0);
}
@@ -304,7 +304,7 @@ void exidy_state::check_collision()
m_motion_object_2_vid.fill(0xff, clip);
org_2_x = 236 - *m_sprite2_xpos - 4;
org_2_y = 244 - *m_sprite2_ypos - 4;
- m_gfxdecode->gfx(0)->transpen(m_motion_object_2_vid,clip,
+ m_gfxdecode->gfx(0)->transpen(m_palette,m_motion_object_2_vid,clip,
((*m_spriteno >> 4) & 0x0f) + 32 + 16 * sprite_set_2, 0,
0, 0, 0, 0, 0);
@@ -314,7 +314,7 @@ void exidy_state::check_collision()
{
sx = org_2_x - org_1_x;
sy = org_2_y - org_1_y;
- m_gfxdecode->gfx(0)->transpen(m_motion_object_2_clip,clip,
+ m_gfxdecode->gfx(0)->transpen(m_palette,m_motion_object_2_clip,clip,
((*m_spriteno >> 4) & 0x0f) + 32 + 16 * sprite_set_2, 0,
0, 0, sx, sy, 0);
}