summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cops.c')
-rw-r--r--src/mame/drivers/cops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/cops.c b/src/mame/drivers/cops.c
index a746a149c4d..ca9c665a69c 100644
--- a/src/mame/drivers/cops.c
+++ b/src/mame/drivers/cops.c
@@ -601,8 +601,8 @@ static MACHINE_CONFIG_START( cops, cops_state )
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
- MCFG_PALETTE_INIT_OVERRIDE(cops_state,cops)
- MCFG_PALETTE_LENGTH(8)
+ MCFG_PALETTE_ADD("palette", 8)
+ MCFG_PALETTE_INIT_OWNER(cops_state,cops)
/* via */
MCFG_DEVICE_ADD("via6522_1", VIA6522, 0)