aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/animation.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2007-08-27 09:30:23 +0000
committerFilippos Karapetis2007-08-27 09:30:23 +0000
commit4e5d81973242c5f8e3040a57bebd6952106a658c (patch)
treea53d8ed9c01dd74cb6c1a93fa2a622a88bcbff60 /engines/saga/animation.cpp
parent30148e505d6f3603e3da03762fbcc3b8124a9381 (diff)
downloadscummvm-rg350-4e5d81973242c5f8e3040a57bebd6952106a658c.tar.gz
scummvm-rg350-4e5d81973242c5f8e3040a57bebd6952106a658c.tar.bz2
scummvm-rg350-4e5d81973242c5f8e3040a57bebd6952106a658c.zip
IHNM's ending is shown correctly now (but the credits still aren't). Slight update on the music of chapter 6
svn-id: r28753
Diffstat (limited to 'engines/saga/animation.cpp')
-rw-r--r--engines/saga/animation.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp
index b01f0b9492..4a4ad404ce 100644
--- a/engines/saga/animation.cpp
+++ b/engines/saga/animation.cpp
@@ -651,11 +651,12 @@ void Anim::decodeFrame(AnimationData *anim, size_t frameOffset, byte *buf, size_
MemoryReadStream readS(anim->resourceData + frameOffset, anim->resourceLength - frameOffset);
-
+// FIXME: This is thrown when the first video of the IHNM end sequence is shown (the "turn off screen"
+// video), however the video is played correctly and the rest of the end sequence continues normally
#if 1
#define VALIDATE_WRITE_POINTER \
if ((writePointer < buf) || (writePointer >= (buf + screenWidth * screenHeight))) { \
- error("VALIDATE_WRITE_POINTER: writePointer=%p buf=%p", (void *)writePointer, (void *)buf); \
+ warning("VALIDATE_WRITE_POINTER: writePointer=%p buf=%p", (void *)writePointer, (void *)buf); \
}
#else
#define VALIDATE_WRITE_POINTER