[Scummvm-tracker] [ScummVM] #9871: FULL THROTTLE: Crash when skipping intro (also in original)

Ben Castricum trac at scummvm.org
Thu Aug 17 09:50:33 CEST 2017


#9871: FULL THROTTLE: Crash when skipping intro (also in original)
----------------------------+---------------------------
  Reporter:  salty-horse    |      Owner:  BenCastricum
      Type:  defect         |     Status:  new
  Priority:  low            |  Component:  Engine: SCUMM
Resolution:                 |   Keywords:
      Game:  Full Throttle  |
----------------------------+---------------------------
Changes (by BenCastricum):

 * owner:  (none) => BenCastricum


Comment:

 Here's the cause of it:

 {{{
 $ ./scummvm-tools/descumm -7 dumps/script-59.dmp
 <...>
 [00C3] (95) beginOverride()
 [00C4] (73) jump 5b8
 <...>
 [01C1] (BA) talkActor(sound(0x2155, 0xA) + "Who's the guy that drove over
 my car?!",7)
 [01FC] (A9) wait.waitForMessage()
 [01FE] (6C) breakHere()
 [01FF] (A4) VAR_VIDEONAME[0] = "squint.san"
 [0211] (C9) kernelSetFunctions.startVideo([0])
 [021B] (9C) roomOps.screenEffect(257)
 [0220] (7B) loadRoom(0)
 [0224] (B1) delaySeconds(1)
 [0228] (7B) loadRoom(5)
 [022C] (74) startSound(4)
 [0230] (61) drawObject(47,0)
 [0237] (B1) delaySeconds(2)
 [023B] (AC) soundKludge([14,4,1536,0,30])
 [024E] (A4) VAR_VIDEONAME[0] = "ks_11.san"
 [025F] (C9) kernelSetFunctions.startVideo([0])
 [0269] (9C) roomOps.screenEffect(129)
 [026E] (7B) loadRoom(98)
 [0272] (70) setState(485,1)
 [0279] (7F) putActorInXY(5,71,157,255)
 [0286] (6C) breakHere()
 [0287] (BA) talkActor(sound(0xFFFFA47F, 0xA) + "Maybe Old Man Corley got
 himself in trouble.",2)
 <...>
 [05B8] (5D) if (VAR_OVERRIDE) {
 [05BE] (9C)   roomOps.darkenPalette(255,16,255)
 [05C9] (**) }
 [05C9] (96) endOverride()
 }}}

 Briefly room 0 is loaded (during the scene with Ben's eyes). When at that
 time user aborts the intro a jump to 05B8 occurs. Next function is a
 palette operation, but room 0 has no palette (as far as I can see it's
 just a dummy room).

--
Ticket URL: <https://bugs.scummvm.org/ticket/9871#comment:2>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list