diff options
Diffstat (limited to 'src/mame/drivers/sshot.cpp')
-rw-r--r-- | src/mame/drivers/sshot.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/sshot.cpp b/src/mame/drivers/sshot.cpp index 94fd7b58000..207fcd43a67 100644 --- a/src/mame/drivers/sshot.cpp +++ b/src/mame/drivers/sshot.cpp @@ -173,11 +173,12 @@ Given CS numbers this is released after the other GunChamp class supershot_state : public driver_device { public: - supershot_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), + supershot_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_gfxdecode(*this, "gfxdecode") { } + m_gfxdecode(*this, "gfxdecode") + { } void supershot(machine_config &config); @@ -359,7 +360,7 @@ MACHINE_CONFIG_START(supershot_state::supershot) MCFG_SCREEN_PALETTE("palette") MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_supershot) - MCFG_PALETTE_ADD_MONOCHROME("palette") + PALETTE(config, "palette", palette_device::MONOCHROME); /* sound hardware */ //... |