diff options
Diffstat (limited to 'src/mame/video/popeye.cpp')
-rw-r--r-- | src/mame/video/popeye.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/popeye.cpp b/src/mame/video/popeye.cpp index 7e7c99ec69d..b5052e8a1b6 100644 --- a/src/mame/video/popeye.cpp +++ b/src/mame/video/popeye.cpp @@ -121,12 +121,12 @@ const res_net_info tnx1_state::obj_mb7052_net_info = }; -PALETTE_INIT_MEMBER(tpp1_state, tnx1) +void tpp1_state::tnx1_palette(palette_device &palette) { - /* Two of the PROM address pins are tied together */ + // Two of the PROM address pins are tied together for (int i = 0; i < 0x20; i++) { - int color = (i & 0xf) | ((i & 0x8) << 1); + int const color = (i & 0xf) | ((i & 0x8) << 1); m_color_prom[i + 0x20] = m_color_prom[color + 0x20]; } @@ -135,12 +135,12 @@ PALETTE_INIT_MEMBER(tpp1_state, tnx1) update_palette(); } -PALETTE_INIT_MEMBER(tnx1_state, tnx1) +void tnx1_state::tnx1_palette(palette_device &palette) { - /* Two of the PROM address pins are tied together and one is not connected... */ + // Two of the PROM address pins are tied together and one is not connected... for (int i = 0;i < 0x100;i++) { - int color = (i & 0x3f) | ((i & 0x20) << 1); + int const color = (i & 0x3f) | ((i & 0x20) << 1); m_color_prom_spr[i] = m_color_prom_spr[color]; } |