summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/tek410x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/tek410x.c')
-rw-r--r--src/mess/drivers/tek410x.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mess/drivers/tek410x.c b/src/mess/drivers/tek410x.c
index 0bfbdfe54a1..5d336b01f5c 100644
--- a/src/mess/drivers/tek410x.c
+++ b/src/mess/drivers/tek410x.c
@@ -98,13 +98,14 @@ static MACHINE_CONFIG_START( tek4107a, tek4107a_state )
MCFG_SCREEN_SIZE(640, 480)
MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
- MCFG_PALETTE_LENGTH(64)
+ MCFG_PALETTE_ADD("palette", 64)
MCFG_GFXDECODE_ADD("gfxdecode", tek4107a)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( tek4109a, tek4107a )
/* video hardware */
- MCFG_PALETTE_LENGTH(4096)
+ MCFG_DEVICE_REMOVE("palette")
+ MCFG_PALETTE_ADD("palette", 4096)
MACHINE_CONFIG_END
/* ROMs */