[Scummvm-tracker] [ScummVM :: Bugs] #11954: Commit 54b0b4ac4cd4a42de660ea426edb27840ddfd4f0 breaks Myst ME
ScummVM :: Bugs
trac at scummvm.org
Fri Nov 27 16:43:45 UTC 2020
#11954: Commit 54b0b4ac4cd4a42de660ea426edb27840ddfd4f0 breaks Myst ME
-------------------------+-------------------------------------------------
Reporter: naatje80 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Mohawk
Resolution: | Keywords: scummvm copyRectToScreen core dump
Game: | myst
-------------------------+-------------------------------------------------
Comment (by eriktorbjorn):
Changing the last line to something like this might fix it:
{{{
if (!(_videoFile.size() & 1)) {
rlstStream->skip(1);
}
}}}
But I don't know if it's the correct fix or not. I ''think'' that size()
is supposed to return the length of the string ''without'' counting the
string terminator, but...
--
Ticket URL: <https://bugs.scummvm.org/ticket/11954#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list