| 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 |
| r242783 | r242784 | |
|---|---|---|
| 171 | 171 | mem = (ma + x) & 0x7ff; |
| 172 | 172 | chr = m_p_videoram[mem]; |
| 173 | 173 | 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; | |
| 176 | 176 | |
| 177 | 177 | if BIT(attr, 7) // reverse video |
| 178 | 178 | { |
| https://github.com/mamedev/mame/commit/944805f253568ab1978b7497adbdcc1ef13ffea8 |
| Previous | 199869 Revisions | Next |