Opened 18 years ago

Closed 18 years ago

Last modified 5 years ago

#8564 closed patch

KYRA1: Workaround for Pool of Sorrow Adlib glitch

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


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 18 years ago.
Patch against current SVN

Download all attachments as: .zip

Change History (4)

by eriktorbjorn, 18 years ago

Attachment: pool-of-sorrow.diff added

Patch against current SVN

comment:1 by eriktorbjorn, 18 years ago

Status: newclosed

comment:2 by eriktorbjorn, 18 years ago

Applied (with one minor cleanup) after discussing it with LordHoto.

comment:3 by digitall, 5 years ago

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