summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emupal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emupal.h')
-rw-r--r--src/emu/emupal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/emupal.h b/src/emu/emupal.h
index b3aedf58c2d..dc6a2f5bab9 100644
--- a/src/emu/emupal.h
+++ b/src/emu/emupal.h
@@ -209,7 +209,7 @@ INLINE void palette_set_color(running_machine &machine, pen_t pen, rgb_t rgb)
INLINE void palette_set_color_rgb(running_machine &machine, pen_t pen, UINT8 r, UINT8 g, UINT8 b)
{
- machine.palette->entry_set_color(pen, MAKE_RGB(r, g, b));
+ machine.palette->entry_set_color(pen, rgb_t(r, g, b));
}