diff options
Diffstat (limited to 'src/mame/drivers/galpani3.cpp')
-rw-r--r-- | src/mame/drivers/galpani3.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/galpani3.cpp b/src/mame/drivers/galpani3.cpp index e3ca63100a7..8e04a9e25f5 100644 --- a/src/mame/drivers/galpani3.cpp +++ b/src/mame/drivers/galpani3.cpp @@ -79,8 +79,8 @@ Dumped by Uki class galpani3_state : public driver_device { public: - galpani3_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), + galpani3_state(const machine_config &mconfig, device_type type, const char *tag) : + driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_grap2(*this,"grap2_%u", 0), m_palette(*this, "palette"), @@ -469,8 +469,7 @@ MACHINE_CONFIG_START(galpani3_state::galpani3) MCFG_DEVICE_ADD("toybox", KANEKO_TOYBOX, "eeprom", "DSW1", "mcuram", "mcudata") - MCFG_PALETTE_ADD("palette", 0x4000) - MCFG_PALETTE_FORMAT(xGGGGGRRRRRBBBBB) + PALETTE(config, m_palette).set_format(palette_device::xGRB_555, 0x4000); MCFG_DEVICE_ADD("spritegen", SKNS_SPRITE, 0) |