diff options
author | Peter Kohaut | 2019-01-24 16:58:31 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-24 22:59:49 +0100 |
commit | 7183f368dcaa667d975a1d842168706aa7ef906f (patch) | |
tree | d4783d54058c4b5eace74a8846b1405953b46599 /engines/bladerunner/vqa_decoder.cpp | |
parent | 9d7100d4f4daff924774729fda27a5aba0cf54be (diff) | |
download | scummvm-rg350-7183f368dcaa667d975a1d842168706aa7ef906f.tar.gz scummvm-rg350-7183f368dcaa667d975a1d842168706aa7ef906f.tar.bz2 scummvm-rg350-7183f368dcaa667d975a1d842168706aa7ef906f.zip |
BLADERUNNER: Fixed BB51 video
Packet CBPZ was not supported.
Diffstat (limited to 'engines/bladerunner/vqa_decoder.cpp')
-rw-r--r-- | engines/bladerunner/vqa_decoder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/bladerunner/vqa_decoder.cpp b/engines/bladerunner/vqa_decoder.cpp index 07df325b89..65afef89a0 100644 --- a/engines/bladerunner/vqa_decoder.cpp +++ b/engines/bladerunner/vqa_decoder.cpp @@ -41,6 +41,7 @@ namespace BladeRunner { #define kAESC 0x41455343 #define kCBFZ 0x4342465A +#define kCBPZ 0x4342505A #define kCIND 0x43494E44 #define kCINF 0x43494E46 #define kCINH 0x43494E48 @@ -366,6 +367,7 @@ bool VQADecoder::VQAVideoTrack::readVQFR(Common::SeekableReadStream *s, uint32 s bool rc = false; switch (chd.id) { case kCBFZ: rc = ((readFlags & kVQAReadCodebook ) == 0) ? s->skip(roundup(chd.size)) : readCBFZ(s, chd.size); break; + case kCBPZ: rc = ((readFlags & kVQAReadCodebook ) == 0) ? s->skip(roundup(chd.size)) : readCBFZ(s, chd.size); break; case kVPTR: rc = ((readFlags & kVQAReadVectorPointerTable) == 0) ? s->skip(roundup(chd.size)) : readVPTR(s, chd.size); break; default: s->skip(roundup(chd.size)); |