summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/dcheese.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/dcheese.cpp')
-rw-r--r--src/mame/video/dcheese.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/dcheese.cpp b/src/mame/video/dcheese.cpp
index 4c57d67479a..8e4e1d5b1ff 100644
--- a/src/mame/video/dcheese.cpp
+++ b/src/mame/video/dcheese.cpp
@@ -27,11 +27,11 @@
*
*************************************/
-PALETTE_INIT_MEMBER(dcheese_state, dcheese)
+void dcheese_state::dcheese_palette(palette_device &palette) const
{
for (int i = 0; i < 65536; i++)
{
- int data = m_palrom[i];
+ int const data = m_palrom[i];
palette.set_pen_color(i, pal6bit(data >> 0), pal5bit(data >> 6), pal5bit(data >> 11));
}
}