[Scummvm-tracker] [ScummVM] #9675: SCI: GK2: Crash in Chapter 6 Grotto
Colin Snover
trac at scummvm.org
Mon May 29 04:44:07 CEST 2017
#9675: SCI: GK2: Crash in Chapter 6 Grotto
-------------------------------+-------------------------
Reporter: IntEmu | Owner: (none)
Type: defect | Status: new
Priority: high | Component: Engine: SCI
Resolution: | Keywords: sci32
Game: Gabriel Knight 2 |
-------------------------------+-------------------------
Comment (by csnover):
Sorry, I misspoke earlier (actually, read the disassembly wrong the first
time).
The 0-arg `kDoAudio(WaitForPlay)` was changed in GK2 to return the number
of samples that have '''not''' been loaded into memory, but the background
music is supposed to be loaded into memory by an earlier call to `kLock`.
Most of this code is new to SSCI in GK2. (It looks like Torin may have
introduced some non-audio-related lock serialization code; I am still
working on figuring out precisely where it was introduced and what it is
doing.)
As a side-note, this seems to explain the “weird” audio-lock-related
behaviour I encountered in Lighthouse from time to time.
--
Ticket URL: <https://bugs.scummvm.org/ticket/9675#comment:12>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list