Opened 13 years ago

Closed 13 years ago

Last modified 11 months ago

#8564 closed patch

KYRA1: Workaround for Pool of Sorrow Adlib glitch

Reported by: eriktorbjorn Owned by:
Priority: normal Component: Engine: Kyra
Keywords: Cc:


There is a bug in the Adlib music (I'm almost entirely
sure it happens in DOSbox as well) for the "Pool of
Sorrow" which causes the channels to drift
progressively out of sync. This patch attempts to work
around that.

What it does is to add a "lock" flag to each channel,
and a bitmask to indicate which channels have to jump
"in sync".

If a synchronized channel is locked, its progam is no
longer executed. Once all synchronized channels are
locked, the locks are released.

This is, of course, rather experimental, so it may be
broken, need cleanups, etc.

Ticket imported from: #1533833. Ticket imported from: patches/669.

Attachments (1)

pool-of-sorrow.diff (3.6 KB ) - added by eriktorbjorn 13 years ago.
Patch against current SVN

Download all attachments as: .zip

Change History (4)

by eriktorbjorn, 13 years ago

Attachment: pool-of-sorrow.diff added

Patch against current SVN

comment:1 by eriktorbjorn, 13 years ago

Status: newclosed

comment:2 by eriktorbjorn, 13 years ago

Applied (with one minor cleanup) after discussing it with

comment:3 by digitall, 11 months ago

Component: Engine: Kyra
Note: See TracTickets for help on using tickets.