summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/cloak.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/cloak.c')
-rw-r--r--src/mame/video/cloak.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/cloak.c b/src/mame/video/cloak.c
index f4b39b3b831..297b89e0a08 100644
--- a/src/mame/video/cloak.c
+++ b/src/mame/video/cloak.c
@@ -80,7 +80,7 @@ void cloak_state::set_pens()
bit2 = (~palette_ram[i] >> 2) & 0x01;
b = combine_3_weights(weights, bit0, bit1, bit2);
- palette_set_color(machine(), i, rgb_t(r, g, b));
+ m_palette->set_pen_color(i, rgb_t(r, g, b));
}
}
@@ -212,7 +212,7 @@ void cloak_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect)
flipy = !flipy;
}
- m_gfxdecode->gfx(1)->transpen(bitmap,cliprect, code, 0, flipx, flipy, sx, sy, 0);
+ m_gfxdecode->gfx(1)->transpen(m_palette,bitmap,cliprect, code, 0, flipx, flipy, sx, sy, 0);
}
}