aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-10 19:09:13 +0000
committerJohannes Schickel2009-08-10 19:09:13 +0000
commita3bbff77e9b5c26f58af5faf08155da8f40c1bc7 (patch)
treebd052f5c18bd6946990b4163471457aa20c84ed6
parentcb8b2d7799391cb65167be5bf0f22afe57178a24 (diff)
downloadscummvm-rg350-a3bbff77e9b5c26f58af5faf08155da8f40c1bc7.tar.gz
scummvm-rg350-a3bbff77e9b5c26f58af5faf08155da8f40c1bc7.tar.bz2
scummvm-rg350-a3bbff77e9b5c26f58af5faf08155da8f40c1bc7.zip
Fix incorrect converted colors in Kyra1 Amiga speech text color setup.
svn-id: r43221
-rw-r--r--engines/kyra/text.cpp64
1 files changed, 32 insertions, 32 deletions
diff --git a/engines/kyra/text.cpp b/engines/kyra/text.cpp
index c880b982cf..6965dbc985 100644
--- a/engines/kyra/text.cpp
+++ b/engines/kyra/text.cpp
@@ -255,80 +255,80 @@ void TextDisplayer::setTextColor(uint8 color) {
case 4:
// 0x09E
r = 0;
- g = 36;
- b = 56;
+ g = 37;
+ b = 58;
break;
case 5:
// 0xFF5
- r = 60;
- g = 60;
- b = 20;
+ r = 63;
+ g = 63;
+ b = 21;
break;
case 27:
// 0x5FF
- r = 20;
- g = 60;
- b = 60;
+ r = 21;
+ g = 63;
+ b = 63;
break;
case 34:
// 0x8E5
- r = 32;
- g = 56;
- b = 20;
+ r = 33;
+ g = 58;
+ b = 21;
break;
case 58:
// 0x9FB
- r = 36;
- g = 60;
- b = 44;
+ r = 37;
+ g = 63;
+ b = 46;
break;
case 85:
// 0x7CF
- r = 28;
- g = 48;
- b = 60;
+ r = 29;
+ g = 50;
+ b = 63;
break;
case 114:
case 117:
// 0xFAF
- r = 60;
- g = 40;
- b = 60;
+ r = 63;
+ g = 42;
+ b = 63;
break;
case 128:
case 129:
// 0xFCC
- r = 60;
- g = 48;
- b = 48;
+ r = 63;
+ g = 50;
+ b = 50;
break;
case 201:
// 0xFD8
- r = 60;
- g = 52;
- b = 32;
+ r = 63;
+ g = 54;
+ b = 33;
break;
case 216:
// 0xFC6
- r = 60;
- g = 48;
- b = 24;
+ r = 63;
+ g = 50;
+ b = 25;
break;
default:
// 0xEEE
- r = 56;
- g = 56;
- b = 56;
+ r = 58;
+ g = 58;
+ b = 58;
}
_screen->setPaletteIndex(0x10, r, g, b);