Fixed bit shit in the Sierra RAMDAC code.

This commit is contained in:
OBattler
2016-07-24 17:53:00 +02:00
parent 2ff66d4bb2
commit 9190c42123

View File

@@ -40,7 +40,7 @@ void unk_ramdac_out(uint16_t addr, uint8_t val, unk_ramdac_t *ramdac, svga_t *sv
}
#endif
oldbpp = svga->bpp;
switch ((val&1)|((val&0xC0)>>8))
switch ((val&1)|((val&0xC0)>>5))
{
case 0:
svga->bpp = 8;