correct palette on amiga version of mi, from Hibernatus
svn-id: r8797
This commit is contained in:
parent
dc705c04e1
commit
f12d23f846
1 changed files with 2 additions and 2 deletions
|
@ -1432,7 +1432,7 @@ void Gdi::decodeStripEGA(byte *dst, const byte *src, int height) {
|
||||||
run = *src++;
|
run = *src++;
|
||||||
}
|
}
|
||||||
for (z = 0; z < run; z++) {
|
for (z = 0; z < run; z++) {
|
||||||
*(dst + y * _vm->_screenWidth + x) = (z&1) ? (color & 0xf) : (color >> 4);
|
*(dst + y * _vm->_screenWidth + x) = (z&1) ? ((color & 0xf) + _palette_mod) : ((color >> 4) + _palette_mod);
|
||||||
|
|
||||||
y++;
|
y++;
|
||||||
if (y >= height) {
|
if (y >= height) {
|
||||||
|
@ -1462,7 +1462,7 @@ void Gdi::decodeStripEGA(byte *dst, const byte *src, int height) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (z = 0; z < run; z++) {
|
for (z = 0; z < run; z++) {
|
||||||
*(dst + y * _vm->_screenWidth + x) = color & 0xf;
|
*(dst + y * _vm->_screenWidth + x) = (color & 0xf) + _palette_mod;
|
||||||
|
|
||||||
y++;
|
y++;
|
||||||
if (y >= height) {
|
if (y >= height) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue