summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/enigma2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/enigma2.cpp')
-rw-r--r--src/mame/drivers/enigma2.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/enigma2.cpp b/src/mame/drivers/enigma2.cpp
index 2453fe45acc..64cf7b590f7 100644
--- a/src/mame/drivers/enigma2.cpp
+++ b/src/mame/drivers/enigma2.cpp
@@ -61,15 +61,16 @@ TODO:
class enigma2_state : public driver_device
{
public:
- enigma2_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ enigma2_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
m_screen(*this, "screen"),
m_palette(*this, "palette"),
m_colors(*this, "colors"),
- m_stars(*this, "stars"){ }
+ m_stars(*this, "stars")
+ { }
void enigma2(machine_config &config);
void enigma2a(machine_config &config);
@@ -620,7 +621,7 @@ MACHINE_CONFIG_START(enigma2_state::enigma2)
MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, HTOTAL, HBEND, HBSTART, VTOTAL, VBEND, VBSTART)
MCFG_SCREEN_UPDATE_DRIVER(enigma2_state, screen_update_enigma2)
- MCFG_PALETTE_ADD_3BIT_BGR("palette")
+ PALETTE(config, m_palette, palette_device::BGR_3BIT);
/* audio hardware */
SPEAKER(config, "mono").front_center();