VIC: Use correct color mapping for non-multicolor bitmap mode

This commit is contained in:
SaxxonPike 2019-07-09 08:02:55 -05:00
parent 83b6553749
commit a8fd85157c
1 changed files with 4 additions and 2 deletions

View File

@ -119,11 +119,13 @@
}
else
{
_parseSrData0 = _bitmapMode ? 0 : _dataG;
_parseSrData1 = _dataG;
_parseSrData0 = _parseSrData1 = _dataG;
}
_srData1 |= _parseSrData1 << _parseSrShift;
if (_bitmapMode && !_multicolorMode)
_parseSrData1 ^= 0xFF;
// graphics color shift register
_srColor0 &= ~(0xFF << _parseSrShift);
_srColor1 &= ~(0xFF << _parseSrShift);