COMI: Sound que buffer overflow
|Reported by:||fingolfin||Owned by:||aquadran|
|Game:||Monkey Island 3|
In various places of COMI, one gets a "Sound que buffer
overflow". Maybe this is a real bug, maybe it means we
simply have to increase the size of the sound queue.
I recently turned this into an error() to be able to better
pinpoint it. In the scene where you first talk to murray, I
(11:2016:0x7AF9): Sound que buffer overflow (255 + 4 =
Another thing I found out about this in the past: the overflow
happens in a single scumm main loop iteration. I.e. first the
queue is (almost) empty, then scripts are run, and boom, it
overflows - processSoundQues is only called later. So it's
definitely not a bug in processSoundQues, it must be either
that our sound queue is too small, or some other issue (like
we are not aborting a script when we should).
Ticket imported from: #775389. Ticket imported from: bugs/1058.