summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/b2m.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/b2m.c')
-rw-r--r--src/mess/video/b2m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/video/b2m.c b/src/mess/video/b2m.c
index 3bb006f9d3d..d01fbc9cceb 100644
--- a/src/mess/video/b2m.c
+++ b/src/mess/video/b2m.c
@@ -52,7 +52,7 @@ static const rgb_t b2m_palette[4] = {
rgb_t(0x00, 0x00, 0x00), // 3
};
-void b2m_state::palette_init()
+PALETTE_INIT_MEMBER(b2m_state, b2m)
{
- palette_set_colors(machine(), 0, b2m_palette, ARRAY_LENGTH(b2m_palette));
+ palette.set_pen_colors(0, b2m_palette, ARRAY_LENGTH(b2m_palette));
}