summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/f-32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/f-32.cpp')
-rw-r--r--src/mame/drivers/f-32.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/f-32.cpp b/src/mame/drivers/f-32.cpp
index df80fe1292a..ee1c14f0272 100644
--- a/src/mame/drivers/f-32.cpp
+++ b/src/mame/drivers/f-32.cpp
@@ -40,10 +40,11 @@ f5
class mosaicf2_state : public driver_device
{
public:
- mosaicf2_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ mosaicf2_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") ,
- m_videoram(*this, "videoram"){ }
+ m_videoram(*this, "videoram")
+ { }
void mosaicf2(machine_config &config);
void royalpk2(machine_config &config);
@@ -188,7 +189,7 @@ MACHINE_CONFIG_START(mosaicf2_state::mosaicf2)
MCFG_SCREEN_UPDATE_DRIVER(mosaicf2_state, screen_update_mosaicf2)
MCFG_SCREEN_PALETTE("palette")
- MCFG_PALETTE_ADD_RRRRRGGGGGBBBBB("palette")
+ PALETTE(config, "palette", palette_device::RGB_555);
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -267,7 +268,7 @@ MACHINE_CONFIG_START(mosaicf2_state::royalpk2)
MCFG_SCREEN_UPDATE_DRIVER(mosaicf2_state, screen_update_mosaicf2)
MCFG_SCREEN_PALETTE("palette")
- MCFG_PALETTE_ADD_RRRRRGGGGGBBBBB("palette")
+ PALETTE(config, "palette", palette_device::RGB_555);
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();