diff options
Diffstat (limited to 'src/mame/drivers/gijoe.cpp')
-rw-r--r-- | src/mame/drivers/gijoe.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/gijoe.cpp b/src/mame/drivers/gijoe.cpp index 9355d688ef6..1dbbc9e7f96 100644 --- a/src/mame/drivers/gijoe.cpp +++ b/src/mame/drivers/gijoe.cpp @@ -317,10 +317,10 @@ MACHINE_CONFIG_START(gijoe_state::gijoe) MCFG_PALETTE_FORMAT(xBBBBBGGGGGRRRRR) MCFG_PALETTE_ENABLE_SHADOWS() - MCFG_DEVICE_ADD("k056832", K056832, 0) - MCFG_K056832_CB(gijoe_state, tile_callback) - MCFG_K056832_CONFIG("gfx1", K056832_BPP_4, 1, 0) - MCFG_K056832_PALETTE("palette") + K056832(config, m_k056832, 0); + m_k056832->set_tile_callback(FUNC(gijoe_state::tile_callback), this); + m_k056832->set_config("gfx1", K056832_BPP_4, 1, 0); + m_k056832->set_palette(m_palette); K053246(config, m_k053246, 0); m_k053246->set_sprite_callback(FUNC(gijoe_state::sprite_callback), this); |