summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/spectrum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/spectrum.c')
-rw-r--r--src/mess/video/spectrum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/video/spectrum.c b/src/mess/video/spectrum.c
index 6a95e2b7acb..ab0fc789755 100644
--- a/src/mess/video/spectrum.c
+++ b/src/mess/video/spectrum.c
@@ -175,7 +175,7 @@ static const rgb_t spectrum_palette[16] = {
/* Initialise the palette */
PALETTE_INIT_MEMBER(spectrum_state,spectrum)
{
- palette_set_colors(machine(), 0, spectrum_palette, ARRAY_LENGTH(spectrum_palette));
+ palette.set_pen_colors(0, spectrum_palette, ARRAY_LENGTH(spectrum_palette));
}