summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/viper.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-02-27 13:35:15 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-02-27 13:35:15 +0000
commit64ac8f6776fc4451d756b0eb3bb6dbd22c49801a (patch)
treebb1d096fecec4684c8ab2b7be1b4d539ca06e57b /src/mame/drivers/viper.c
parentf9d3fbaa73ccdab2e5fcf9fc095a14b4f24c3133 (diff)
Huge update, palette is now device (nw)
note: Aaron please give more descriptive text for release log I have no more strength :)
Diffstat (limited to 'src/mame/drivers/viper.c')
-rw-r--r--src/mame/drivers/viper.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/viper.c b/src/mame/drivers/viper.c
index 2980f2c0bc1..b571cdbb2d2 100644
--- a/src/mame/drivers/viper.c
+++ b/src/mame/drivers/viper.c
@@ -2063,11 +2063,10 @@ static MACHINE_CONFIG_START( viper, viper_state )
MCFG_SCREEN_REFRESH_RATE(60)
MCFG_SCREEN_SIZE(1024, 768)
MCFG_SCREEN_VISIBLE_AREA(0, 1023, 0, 383)
-
- MCFG_PALETTE_LENGTH(65536)
-
MCFG_SCREEN_UPDATE_DRIVER(viper_state, screen_update_viper)
+ MCFG_PALETTE_ADD("palette", 65536)
+
MCFG_TIMER_ADD_NONE("ds2430_timer2")
/* sound hardware */