summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tail2nos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tail2nos.cpp')
-rw-r--r--src/mame/drivers/tail2nos.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/tail2nos.cpp b/src/mame/drivers/tail2nos.cpp
index 1caf7856095..56566fef559 100644
--- a/src/mame/drivers/tail2nos.cpp
+++ b/src/mame/drivers/tail2nos.cpp
@@ -262,12 +262,12 @@ MACHINE_CONFIG_START(tail2nos_state::tail2nos)
MCFG_PALETTE_ADD("palette", 2048)
MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
- MCFG_DEVICE_ADD("k051316", K051316, 0)
- MCFG_GFX_PALETTE("palette")
- MCFG_K051316_BPP(-4)
- MCFG_K051316_OFFSETS(-89, -14)
- MCFG_K051316_WRAP(1)
- MCFG_K051316_CB(tail2nos_state, zoom_callback)
+ K051316(config, m_k051316, 0);
+ m_k051316->set_palette(m_palette);
+ m_k051316->set_bpp(-4);
+ m_k051316->set_offsets(-89, -14);
+ m_k051316->set_wrap(1);
+ m_k051316->set_zoom_callback(FUNC(tail2nos_state::zoom_callback), this);
VSYSTEM_GGA(config, "gga", XTAL(14'318'181) / 2); // divider not verified