diff options
Diffstat (limited to 'src/mame/drivers/deco_ld.c')
-rw-r--r-- | src/mame/drivers/deco_ld.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/deco_ld.c b/src/mame/drivers/deco_ld.c index afd01ba70c1..c4d032a93a8 100644 --- a/src/mame/drivers/deco_ld.c +++ b/src/mame/drivers/deco_ld.c @@ -181,7 +181,7 @@ void deco_ld_state::draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect fx = (spriteram[i+0] & 0x04) ? 1 : 0; fy = (spriteram[i+0] & 0x02) ? 1 : 0; - gfx->transpen(bitmap,cliprect,spr_offs,col,fx,fy,x,y,0); + gfx->transpen(m_palette,bitmap,cliprect,spr_offs,col,fx,fy,x,y,0); } for(i=0x3e0;i<0x400;i+=4) @@ -196,7 +196,7 @@ void deco_ld_state::draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect fx = (spriteram[i+0] & 0x04) ? 1 : 0; fy = (spriteram[i+0] & 0x02) ? 1 : 0; - gfx->transpen(bitmap,cliprect,spr_offs,col,fx,fy,x,y,0); + gfx->transpen(m_palette,bitmap,cliprect,spr_offs,col,fx,fy,x,y,0); } } @@ -218,7 +218,7 @@ UINT32 deco_ld_state::screen_update_rblaster(screen_device &screen, bitmap_rgb32 int tile = m_vram0[x+y*32] | ((attr & 3) << 8); int colour = (6 & 0x7); /* TODO */ - gfx->transpen(bitmap,cliprect,tile|0x400,colour,0,0,x*8,y*8,0); + gfx->transpen(m_palette,bitmap,cliprect,tile|0x400,colour,0,0,x*8,y*8,0); } } @@ -230,7 +230,7 @@ UINT32 deco_ld_state::screen_update_rblaster(screen_device &screen, bitmap_rgb32 int tile = m_vram1[x+y*32] | ((attr & 3) << 8); int colour = (6 & 0x7); /* TODO */ - gfx->transpen(bitmap,cliprect,tile,colour,0,0,x*8,y*8,0); + gfx->transpen(m_palette,bitmap,cliprect,tile,colour,0,0,x*8,y*8,0); } } @@ -262,7 +262,7 @@ WRITE8_MEMBER(deco_ld_state::decold_sound_cmd_w) /* same as Burger Time HW */ WRITE8_MEMBER(deco_ld_state::decold_palette_w) { - paletteram_BBGGGRRR_byte_w(space, offset, ~data); + m_palette->write(space, offset, UINT8(~data)); } /* unknown, but certainly related to audiocpu somehow */ @@ -479,7 +479,7 @@ static MACHINE_CONFIG_START( rblaster, deco_ld_state ) /* video hardware */ MCFG_LASERDISC_SCREEN_ADD_NTSC("screen", "laserdisc") MCFG_GFXDECODE_ADD("gfxdecode", rblaster) - MCFG_PALETTE_LENGTH(512) + MCFG_PALETTE_ADD("palette", 512) /* sound hardware */ /* TODO: mixing */ |