summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hunter16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hunter16.cpp')
-rw-r--r--src/mame/drivers/hunter16.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/hunter16.cpp b/src/mame/drivers/hunter16.cpp
index aadb3dcea92..1824bbc508c 100644
--- a/src/mame/drivers/hunter16.cpp
+++ b/src/mame/drivers/hunter16.cpp
@@ -169,12 +169,12 @@ void hunter16_state::palette_init_hunter16(palette_device &palette)
MC6845_UPDATE_ROW(hunter16_state::crtc_update_row)
{
- uint32_t *p = &bitmap.pix32(y);
- const rgb_t *palette = m_palette->palette()->entry_list_raw();
+ uint32_t *p = &bitmap.pix(y);
+ rgb_t const *const palette = m_palette->palette()->entry_list_raw();
for (int i = 0; i < x_count; i++)
{
- uint16_t offset = (((ma + i) << 1) & 0x1fff) | ((ra & 1) << 13);
+ uint16_t const offset = (((ma + i) << 1) & 0x1fff) | ((ra & 1) << 13);
uint8_t data = m_videoram[offset];
for (int bit = 7; bit >= 0; bit--)