mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
BLADERUNNER: Fixed zbuffer in TB05
This was causing issues with walking in TB05
This commit is contained in:
parent
5b18aee743
commit
fb26f21d04
@ -81,9 +81,6 @@ public:
|
||||
|
||||
bool getLoopBeginAndEndFrame(int loop, int *begin, int *end);
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
struct Header {
|
||||
uint16 version; // 0x00
|
||||
uint16 flags; // 0x02
|
||||
@ -141,7 +138,6 @@ private:
|
||||
class VQAAudioTrack;
|
||||
|
||||
Common::SeekableReadStream *_s;
|
||||
// Graphics::Surface *_surface;
|
||||
|
||||
Header _header;
|
||||
int _readingFrame;
|
||||
|
@ -43,6 +43,13 @@ bool VQAPlayer::open() {
|
||||
return false;
|
||||
}
|
||||
|
||||
#if !BLADERUNNER_ORIGINAL_BUGS
|
||||
// TB05 has wrong end of a loop and this will load empty zbuffer from next loop, which will lead to broken pathfinding
|
||||
if (_name.equals("TB05_2.VQA")) {
|
||||
_decoder._loopInfo.loops[1].end = 60;
|
||||
}
|
||||
#endif
|
||||
|
||||
_hasAudio = _decoder.hasAudio();
|
||||
if (_hasAudio) {
|
||||
_audioStream = Audio::makeQueuingAudioStream(_decoder.frequency(), false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user