[Scummvm-tracker] [ScummVM :: Bugs] #13412: AGS: Zniw Adventure issues and crash (segmentation fault)
ScummVM :: Bugs
trac at scummvm.org
Wed Feb 22 18:03:20 UTC 2023
#13412: AGS: Zniw Adventure issues and crash (segmentation fault)
-----------------------------------------+--------------------------
Reporter: antoniou79 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: AGS
Version: | Resolution:
Keywords: Zniw Adventure, fonts, crash | Game:
-----------------------------------------+--------------------------
Comment (by antoniou79):
Update:
It seems that it might not be necessary to set the rate within
loadStream() at all for *AGS engine* games.
setRate(1) is called within the base class' video_decoder start() method
here:
https://github.com/scummvm/scummvm/blob/91f47ebea5b411880a19a11d2939af60fd46160f/video/video_decoder.cpp#L440
And for AGS, start() gets called, at least in AGS and for the case of Zniw
here:
https://github.com/scummvm/scummvm/blob/91f47ebea5b411880a19a11d2939af60fd46160f/engines/ags/engine/media/video/video.cpp#L83
So the playback rate is already initialized to 1x (normal playback).
However, maybe other engines (Tetraengine was mentioned as a possible one)
do not call start() and do need some proper initialization. Which means
that maybe a more comprehensive fix is needed.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13412#comment:13>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list