diff options
Diffstat (limited to 'src/mame/video/wolfpack.c')
-rw-r--r-- | src/mame/video/wolfpack.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/video/wolfpack.c b/src/mame/video/wolfpack.c index 7784d99e956..32474f9f189 100644 --- a/src/mame/video/wolfpack.c +++ b/src/mame/video/wolfpack.c @@ -248,8 +248,8 @@ UINT32 wolfpack_state::screen_update_wolfpack(screen_device &screen, bitmap_ind1 if (m_ship_size & 0x40) color += 0x3a; if (m_ship_size & 0x80) color += 0x48; - colortable_palette_set_color(screen.machine().colortable, 3, MAKE_RGB(color,color,color)); - colortable_palette_set_color(screen.machine().colortable, 7, MAKE_RGB(color < 0xb8 ? color + 0x48 : 0xff, + colortable_palette_set_color(machine().colortable, 3, MAKE_RGB(color,color,color)); + colortable_palette_set_color(machine().colortable, 7, MAKE_RGB(color < 0xb8 ? color + 0x48 : 0xff, color < 0xb8 ? color + 0x48 : 0xff, color < 0xb8 ? color + 0x48 : 0xff)); @@ -261,7 +261,7 @@ UINT32 wolfpack_state::screen_update_wolfpack(screen_device &screen, bitmap_ind1 int code = m_alpha_num_ram[32 * i + j]; drawgfx_opaque(bitmap, cliprect, - screen.machine().gfx[0], + machine().gfx[0], code, m_video_invert, 0, 0, @@ -269,10 +269,10 @@ UINT32 wolfpack_state::screen_update_wolfpack(screen_device &screen, bitmap_ind1 192 + 8 * i); } - draw_pt(screen.machine(), bitmap, cliprect); - draw_ship(screen.machine(), bitmap, cliprect); - draw_torpedo(screen.machine(), bitmap, cliprect); - draw_water(screen.machine().colortable, bitmap, cliprect); + draw_pt(machine(), bitmap, cliprect); + draw_ship(machine(), bitmap, cliprect); + draw_torpedo(machine(), bitmap, cliprect); + draw_water(machine().colortable, bitmap, cliprect); return 0; } @@ -288,7 +288,7 @@ void wolfpack_state::screen_eof_wolfpack(screen_device &screen, bool state) m_helper.fill(0); - draw_ship(screen.machine(), m_helper, m_helper.cliprect()); + draw_ship(machine(), m_helper, m_helper.cliprect()); for (y = 128; y < 224 - m_torpedo_v; y++) { |