mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
import from mess (nw)
This commit is contained in:
parent
3a36a15a02
commit
8d4e393672
@ -608,7 +608,7 @@ static MC6845_UPDATE_ROW( cga_text_blink_update_row )
|
|||||||
UINT8 attr = videoram[ offset +1 ];
|
UINT8 attr = videoram[ offset +1 ];
|
||||||
UINT8 data = cga.chr_gen[ chr * 8 + ra ];
|
UINT8 data = cga.chr_gen[ chr * 8 + ra ];
|
||||||
UINT16 fg = attr & 0x0F;
|
UINT16 fg = attr & 0x0F;
|
||||||
UINT16 bg = attr >> 4;
|
UINT16 bg = (attr >> 4) & 0x07;
|
||||||
|
|
||||||
if ( i == cursor_x )
|
if ( i == cursor_x )
|
||||||
{
|
{
|
||||||
@ -652,7 +652,7 @@ static MC6845_UPDATE_ROW( cga_text_blink_update_row_si )
|
|||||||
UINT8 attr = videoram[ offset +1 ];
|
UINT8 attr = videoram[ offset +1 ];
|
||||||
UINT8 data = cga.chr_gen[ chr * 8 + ra ];
|
UINT8 data = cga.chr_gen[ chr * 8 + ra ];
|
||||||
UINT16 fg = attr & 0x0F;
|
UINT16 fg = attr & 0x0F;
|
||||||
UINT16 bg = attr >> 4;
|
UINT16 bg = (attr >> 4) & 0x07;
|
||||||
UINT8 xi;
|
UINT8 xi;
|
||||||
|
|
||||||
if ( i == cursor_x )
|
if ( i == cursor_x )
|
||||||
|
Loading…
Reference in New Issue
Block a user