[Scummvm-tracker] [ScummVM :: Bugs] #15303: SCI: LSL5: Timed message skipped during LSL5 coffee scene (symptom of a bigger problem?)
ScummVM :: Bugs
trac at scummvm.org
Sun Aug 18 16:12:28 UTC 2024
#15303: SCI: LSL5: Timed message skipped during LSL5 coffee scene (symptom of a
bigger problem?)
-------------------------+-----------------------------------
Reporter: eriktorbjorn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCI
Version: | Resolution:
Keywords: | Game: Leisure Suit Larry 5
-------------------------+-----------------------------------
Comment (by eriktorbjorn):
I could be barking up the wrong tree, but it looks to me like `gGameTime`
doesn't change while it's waiting for the text box. At least for some of
the text boxes.
I can't see that the German version updates the variables in any other
scripts than the English version does it, but maybe those scripts get
invoked in different places?
That could be avoided by calling `GameTime` but that leads to another
problem: Pushing `gGameTime` onto the stack is done in 2 bytes. Pushing
the result of `GameTime` onto the stack requires 4 bytes, I believe. Well,
there are two more branch instructions that could be converted to the
shorter form, so maybe that's doable...
But my attempt caused a stack underflow, so I'm clearly messing things up
even worse.
--
Ticket URL: <https://bugs.scummvm.org/ticket/15303#comment:37>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list