diff options
Diffstat (limited to 'src/mame/drivers/informer_207_376.cpp')
-rw-r--r-- | src/mame/drivers/informer_207_376.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/informer_207_376.cpp b/src/mame/drivers/informer_207_376.cpp index 4d084317302..a10483728d3 100644 --- a/src/mame/drivers/informer_207_376.cpp +++ b/src/mame/drivers/informer_207_376.cpp @@ -139,11 +139,11 @@ void informer_207_376_state::crt_brightness_w(uint8_t data) MC6845_UPDATE_ROW( informer_207_376_state::crtc_update_row ) { - const pen_t *pen = m_palette->pens(); + pen_t const *const pen = m_palette->pens(); for (int x = 0; x < x_count; x++) { - uint8_t code = m_ram[ma + x]; + uint8_t const code = m_ram[ma + x]; uint8_t data = m_chargen[(code << 4) + ra]; if (x == cursor_x) @@ -154,14 +154,14 @@ MC6845_UPDATE_ROW( informer_207_376_state::crtc_update_row ) data = 0xff; // draw 8 pixels of the character - bitmap.pix32(y, x * 8 + 7) = pen[BIT(data, 0)]; - bitmap.pix32(y, x * 8 + 6) = pen[BIT(data, 1)]; - bitmap.pix32(y, x * 8 + 5) = pen[BIT(data, 2)]; - bitmap.pix32(y, x * 8 + 4) = pen[BIT(data, 3)]; - bitmap.pix32(y, x * 8 + 3) = pen[BIT(data, 4)]; - bitmap.pix32(y, x * 8 + 2) = pen[BIT(data, 5)]; - bitmap.pix32(y, x * 8 + 1) = pen[BIT(data, 6)]; - bitmap.pix32(y, x * 8 + 0) = pen[BIT(data, 7)]; + bitmap.pix(y, x * 8 + 7) = pen[BIT(data, 0)]; + bitmap.pix(y, x * 8 + 6) = pen[BIT(data, 1)]; + bitmap.pix(y, x * 8 + 5) = pen[BIT(data, 2)]; + bitmap.pix(y, x * 8 + 4) = pen[BIT(data, 3)]; + bitmap.pix(y, x * 8 + 3) = pen[BIT(data, 4)]; + bitmap.pix(y, x * 8 + 2) = pen[BIT(data, 5)]; + bitmap.pix(y, x * 8 + 1) = pen[BIT(data, 6)]; + bitmap.pix(y, x * 8 + 0) = pen[BIT(data, 7)]; } } |