JaCzekanski / Avocado

🥑 PlayStation 1 emulator
GNU General Public License v2.0
536 stars 31 forks source link

Ensure MDEC macroblocks decode fully before merging into output #81

Closed ghost closed 3 years ago

ghost commented 3 years ago

In Lunar: The Silver Star Story Complete, the opening movie sends MDEC macroblock sequences that bail out in the early return cases of decodeMacroblock. If we try to insert these blocks into the output stream, an extra 16x16 block is sent along every frame, causing the video to play back like a VCR with bad tracking, each frame being offset by an additional 16x16 block.

Please feel free to reject or refactor this request to your liking. There's no copyright on this, consider it public domain.

Thanks for your wonderful codebase, it's been a big help to me!

ghost commented 3 years ago

Request was missing the header, sorry. I'll resubmit it.