aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-09 19:18:23 +0000
committerPaweł Kołodziejski2003-04-09 19:18:23 +0000
commit2f62d6cf4e06b5487cde48c22ddceb1ce7e89d24 (patch)
treef326e716e216f22abb6f26b58f8baa6e7e6357c6
parentc9b56af48bb6fad443cec63e04125e95dacc5b23 (diff)
downloadscummvm-rg350-2f62d6cf4e06b5487cde48c22ddceb1ce7e89d24.tar.gz
scummvm-rg350-2f62d6cf4e06b5487cde48c22ddceb1ce7e89d24.tar.bz2
scummvm-rg350-2f62d6cf4e06b5487cde48c22ddceb1ce7e89d24.zip
fix ega codec
svn-id: r6947
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 2503f0b034..cba0ebeb65 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1067,7 +1067,7 @@ void Gdi::decodeStripEGA(byte *dst, byte *src, int height) {
}
}
if (color != 0xff) {
- *dst++ = color;
+ *dst = color;
*(dst + 1) = color2;
dst += _vm->_realWidth;
}