diff options
author | Travis Howell | 2003-09-01 05:07:43 +0000 |
---|---|---|
committer | Travis Howell | 2003-09-01 05:07:43 +0000 |
commit | db6cd6819696d2c39243d174e5540d9dd0a1edb1 (patch) | |
tree | c0e4b6a8e6437fa4fde0d23f77669b9216ba4433 | |
parent | c5141005e0e1e3ed0ac082d7c357683762e0bb0c (diff) | |
download | scummvm-rg350-db6cd6819696d2c39243d174e5540d9dd0a1edb1.tar.gz scummvm-rg350-db6cd6819696d2c39243d174e5540d9dd0a1edb1.tar.bz2 scummvm-rg350-db6cd6819696d2c39243d174e5540d9dd0a1edb1.zip |
Add work around for color cycling been used in monkeyvga when it shouldn't.
svn-id: r9948
-rw-r--r-- | scumm/gfx.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index ab23e0f936..12adeaec59 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -2713,7 +2713,12 @@ void Scumm::initCycl(const byte *ptr) { ptr += 2; byte start = *ptr++; byte end = *ptr++; - if (!delay || start >= end) + + // FIXME This value has another meaning + if (delay == 0x0aaa) + continue; + + if (!delay || delay == 0x0aaa || start >= end) continue; cycl->counter = 0; |