mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 15:55:45 +00:00
IMAGE: SCR: tweaked palette to match real hardware
This commit is contained in:
parent
a04441f498
commit
be73c89bc1
@ -83,7 +83,7 @@ bool ScrDecoder::loadStream(Common::SeekableReadStream &stream) {
|
||||
byte ink = attr & 0x07;
|
||||
byte paper = (attr >> 3) & 0x07;
|
||||
byte bright = (attr >> 6) & 1;
|
||||
byte val = bright ? 0xff : 0xcd;
|
||||
byte val = bright ? 0xff : 0xd8;
|
||||
for (int bit = 0; bit < 8; bit++) {
|
||||
bool set = (byt >> (7 - bit)) & 1;
|
||||
int color = set ? ink : paper;
|
||||
|
Loading…
x
Reference in New Issue
Block a user