mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
crei680: fixed potential crash scenario
This commit is contained in:
parent
eab3ae7e54
commit
2c331d5f58
@ -178,9 +178,7 @@ MC6845_UPDATE_ROW( crei680_state::crtc_update_row )
|
||||
chr |= 0x40;
|
||||
u8 gfx = (ra < 8) ? m_cgen[(chr<<3) | ra] : 0;
|
||||
|
||||
/* Display a scanline of a character (8 pixels) */
|
||||
*p++ = palette[BIT(gfx, 7)];
|
||||
*p++ = palette[BIT(gfx, 6)];
|
||||
/* Display a scanline of a character (6 pixels) */
|
||||
*p++ = palette[BIT(gfx, 5)];
|
||||
*p++ = palette[BIT(gfx, 4)];
|
||||
*p++ = palette[BIT(gfx, 3)];
|
||||
|
Loading…
Reference in New Issue
Block a user