summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dai.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dai.cpp')
-rw-r--r--src/mame/drivers/dai.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/dai.cpp b/src/mame/drivers/dai.cpp
index efae8655fcb..345a426a83c 100644
--- a/src/mame/drivers/dai.cpp
+++ b/src/mame/drivers/dai.cpp
@@ -210,7 +210,7 @@ void dai_state::dai(machine_config &config)
screen.set_palette(m_palette);
GFXDECODE(config, "gfxdecode", m_palette, gfx_dai);
- PALETTE(config, m_palette, FUNC(dai_state::dai_palette), ARRAY_LENGTH(s_palette));
+ PALETTE(config, m_palette, FUNC(dai_state::dai_palette), std::size(s_palette));
/* sound hardware */
SPEAKER(config, "mono").front_center();