diff options
Diffstat (limited to 'src/mess/drivers/tk80bs.c')
-rw-r--r-- | src/mess/drivers/tk80bs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mess/drivers/tk80bs.c b/src/mess/drivers/tk80bs.c index 55023b5859b..e3286b2915e 100644 --- a/src/mess/drivers/tk80bs.c +++ b/src/mess/drivers/tk80bs.c @@ -69,7 +69,7 @@ UINT32 tk80bs_state::screen_update_tk80bs(screen_device &screen, bitmap_ind16 &b { int tile = m_p_videoram[count++]; - m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, tile, 0, 0, 0, x*8, y*8); + m_gfxdecode->gfx(0)->opaque(m_palette,bitmap,cliprect, tile, 0, 0, 0, x*8, y*8); } } @@ -193,8 +193,7 @@ static MACHINE_CONFIG_START( tk80bs, tk80bs_state ) MCFG_SCREEN_SIZE(256, 128) MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 0, 128-1) MCFG_SCREEN_UPDATE_DRIVER(tk80bs_state, screen_update_tk80bs) - MCFG_PALETTE_LENGTH(2) - MCFG_PALETTE_INIT_OVERRIDE(driver_device, black_and_white) + MCFG_PALETTE_ADD_BLACK_AND_WHITE("palette") MCFG_GFXDECODE_ADD("gfxdecode", tk80bs) /* Devices */ |