diff options
Diffstat (limited to 'src/mame/drivers/xexex.cpp')
-rw-r--r-- | src/mame/drivers/xexex.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/xexex.cpp b/src/mame/drivers/xexex.cpp index 5f1b2c773e8..89bb1dd6bb0 100644 --- a/src/mame/drivers/xexex.cpp +++ b/src/mame/drivers/xexex.cpp @@ -503,10 +503,10 @@ MACHINE_CONFIG_START(xexex_state::xexex) MCFG_K056832_CONFIG("gfx1", K056832_BPP_4, 1, 0) MCFG_K056832_PALETTE("palette") - MCFG_DEVICE_ADD("k053246", K053246, 0) - MCFG_K053246_CB(xexex_state, sprite_callback) - MCFG_K053246_CONFIG("gfx2", NORMAL_PLANE_ORDER, -48, 32) - MCFG_K053246_PALETTE("palette") + K053246(config, m_k053246, 0); + m_k053246->set_sprite_callback(FUNC(xexex_state::sprite_callback), this); + m_k053246->set_config("gfx2", NORMAL_PLANE_ORDER, -48, 32); + m_k053246->set_palette(m_palette); MCFG_K053250_ADD("k053250", "palette", "screen", -5, -16) |