diff options
Diffstat (limited to 'src/mame/drivers/othello.cpp')
-rw-r--r-- | src/mame/drivers/othello.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/othello.cpp b/src/mame/drivers/othello.cpp index b43707ae0c3..051dc56c002 100644 --- a/src/mame/drivers/othello.cpp +++ b/src/mame/drivers/othello.cpp @@ -132,9 +132,9 @@ private: MC6845_UPDATE_ROW( othello_state::crtc_update_row ) { - const rgb_t *palette = m_palette->palette()->entry_list_raw(); + rgb_t const *const palette = m_palette->palette()->entry_list_raw(); - const uint8_t *gfx = memregion("gfx")->base(); + uint8_t const *const gfx = memregion("gfx")->base(); for(int cx = 0; cx < x_count; ++cx) { @@ -143,7 +143,7 @@ MC6845_UPDATE_ROW( othello_state::crtc_update_row ) for(int x = 0; x < TILE_WIDTH; ++x) { - bitmap.pix32(y, (cx * TILE_WIDTH + x) ^ 1) = palette[tmp & 0x0f]; + bitmap.pix(y, (cx * TILE_WIDTH + x) ^ 1) = palette[tmp & 0x0f]; tmp >>= 4; } } |