[Scummvm-tracker] [ScummVM :: Bugs] #13198: SHERLOCK: Intro too slow in the German Version since version 2.5.1
ScummVM :: Bugs
trac at scummvm.org
Sat Jan 8 11:23:57 UTC 2022
#13198: SHERLOCK: Intro too slow in the German Version since version 2.5.1
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
Commodusaurel |
Type: defect | Status: new
Priority: high | Component: Engine: Sherlock
Version: | Resolution:
Keywords: | Game: Sherlock Holmes: Case of the
| Serrated Scalpel
-------------------------+-------------------------------------------------
Comment (by eriktorbjorn):
The slowdown was introduced when we started decoding frames on demand,
rather than in advance, to fix a crash at the lab table. See
https://github.com/scummvm/scummvm/commit/046e39428bae509f087bc0ffc25b1f925f565435
If I understand correctly, the intro animation does ''lots'' of reads from
the same resource file, and for each of them it has to decompress the
''entire'' resource file. So while each image is decoded in a few
milliseconds, that adds up to a lot.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13198#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list