Previous 199869 Revisions Next

r34272 Friday 9th January, 2015 at 01:27:14 UTC by Scott Stone
(MESS) Alphatronic: Flipped fg/bg colors based off real system picture (nw)
[src/mess/drivers]alphatro.c

trunk/src/mess/drivers/alphatro.c
r242783r242784
171171      mem = (ma + x) & 0x7ff;
172172      chr = m_p_videoram[mem];
173173      attr = m_p_videoram[mem | 0x800];
174      fg = (palette) ? 8 : attr & 7; // amber or RGB
175      bg = (palette) ? 0 : (attr & 0x38) >> 3;
174      bg = (palette) ? 8 : attr & 7; // amber or RGB
175      fg = (palette) ? 0 : (attr & 0x38) >> 3;
176176
177177      if BIT(attr, 7) // reverse video
178178      {


Previous 199869 Revisions Next


© 1997-2024 The MAME Team