Possible fix for Kyra CD intro glitch
|Reported by:||eriktorbjorn||Owned by:||lordhoto|
I had a sudden flash of inspiration about the Kyra CD intro glitch, where the image goes almost black at the beginning of the "tree2" movie.
Since each new frame is XOR:ed with whatever was there before, the screen going black would mean that the decoded frame data looks just like what's already in the destination buffer. So to keep that from happening, all we have to do is to make sure the buffer is cleared first.
I don't know if this patch represents the correct way of doing that, though. But it does fix the aforementioned glitch for me.
Ticket imported from: #1350387. Ticket imported from: patches/588.