diff options
author | Paweł Kołodziejski | 2003-04-09 19:50:47 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-04-09 19:50:47 +0000 |
commit | 7f6fca15284bb1f48ec8276d927089e75eb2c7d4 (patch) | |
tree | 7f8b6d84c7d18f1dc230abc403c91f2115536a93 /scumm | |
parent | 2f62d6cf4e06b5487cde48c22ddceb1ce7e89d24 (diff) | |
download | scummvm-rg350-7f6fca15284bb1f48ec8276d927089e75eb2c7d4.tar.gz scummvm-rg350-7f6fca15284bb1f48ec8276d927089e75eb2c7d4.tar.bz2 scummvm-rg350-7f6fca15284bb1f48ec8276d927089e75eb2c7d4.zip |
fix ega codec again
svn-id: r6948
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index cba0ebeb65..2922df5294 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1046,7 +1046,7 @@ void Gdi::decodeStripEGA(byte *dst, byte *src, int height) { height = t_height; dst = t_dst + x * 2; do { - if (run == 0) { + if (--run == 0) { data = *src++; if (data & 0x80) { run = data & 0x3f; |