Intellivision fix MOB colors

This commit is contained in:
alyosha-tas 2016-12-10 19:59:59 -05:00 committed by GitHub
parent fc8ac3b190
commit 5ac6746fb9
1 changed files with 3 additions and 3 deletions

View File

@ -468,10 +468,10 @@ namespace BizHawk.Emulation.Cores.Intellivision
byte card = (byte)(attr >> 3);
bool gram = attr.Bit(11);
byte loc_color = (byte)(attr & 3);
byte loc_color = (byte)(attr & 7);
bool color_3 = attr.Bit(12);
if (color_3)
loc_color += 4;
if (color_3 && gram)
loc_color += 8;
bool priority = attr.Bit(13);
byte loc_x = (byte)(x & 0xFF);