aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-02 21:46:51 +0000
committerEugene Sandulenko2005-03-02 21:46:51 +0000
commit50f6eb740c488532e78f031f9e8b18f672fdff93 (patch)
treeb446fbc4152a3ef45dbd96c4c7298a31fa22fecf /scumm/charset.cpp
parent7a2a4f34dc823f04f3635fd57aaa3a23a859e563 (diff)
downloadscummvm-rg350-50f6eb740c488532e78f031f9e8b18f672fdff93.tar.gz
scummvm-rg350-50f6eb740c488532e78f031f9e8b18f672fdff93.tar.bz2
scummvm-rg350-50f6eb740c488532e78f031f9e8b18f672fdff93.zip
Distinguish between green and amber hercules. Now specify it via hercGreen
and hercAmber. Updated documentation accordingly. svn-id: r16975
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r--scumm/charset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index 818c1b16d4..52497aef14 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -1263,7 +1263,7 @@ void CharsetRenderer::translateColor() {
_color = CGAtextColorMap[_color & 0x0f];
}
- if (_vm->_renderMode == Common::kRenderHerc) {
+ if (_vm->_renderMode == Common::kRenderHercA || _vm->_renderMode == Common::kRenderHercG) {
static byte HercTextColorMap[16] = {0, 15, 2, 15, 15, 5, 15, 15,
8, 15, 15, 15, 15, 15, 15, 15};
_color = HercTextColorMap[_color & 0x0f];