From 56a32b365210b3f517952674fbd4b16700ba27ca Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 16 Feb 2014 23:29:19 -0500 Subject: VOYEUR: Fix checking RLV header signature --- engines/voyeur/animation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/voyeur') diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp index c7522e6b20..f81573f733 100644 --- a/engines/voyeur/animation.cpp +++ b/engines/voyeur/animation.cpp @@ -162,7 +162,7 @@ void RL2Decoder::RL2FileHeader::load(Common::SeekableReadStream *stream) { _form = stream->readUint32LE(); _backSize = stream->readUint32LE(); - _signature = stream->readUint32LE(); + _signature = stream->readUint32BE(); if (!isValid()) return; @@ -197,7 +197,7 @@ void RL2Decoder::RL2FileHeader::load(Common::SeekableReadStream *stream) { } bool RL2Decoder::RL2FileHeader::isValid() const { - return _signature == MKTAG('R','L','V','2') || _signature != MKTAG('R','L','V','3'); + return _signature == MKTAG('R','L','V','2') || _signature == MKTAG('R','L','V','3'); } Common::Rational RL2Decoder::RL2FileHeader::getFrameRate() const { -- cgit v1.2.3