ArcadeTV / msu-md-sonic

MSU-MD driver implementation for Sonic on the Sega Genesis/Mega Drive
Creative Commons Zero v1.0 Universal
19 stars 2 forks source link

Background music resets every time some incidental music plays. #6

Open haroldo-ok opened 3 years ago

haroldo-ok commented 3 years ago

That's a pretty interesting enjoyable ROM hack, but there is an annoying behavior where, every time some incidental music plays (invincibility or extra life, for example), the background music restarts from the beginning, instead of resuming from where it originally started.

ArcadeTV commented 3 years ago

It's a driver limitation at this moment. There's no "seek to" function, so if another track is played the next one can only be played from the beginning. I know that it's not perfect, most noticable when super-sneakers and invincibility come together and wear off... I could play the chipsound in this situation but I found that was not satisfying either.

Here's a little thing that we may be able to look forward to in the not too distant future, that's the fork of eke-eke which adds seemless looping to the driver (Even if 'seek-time-emulation' first needs an option to be disabled on MegaEverdrivePro which is likely to happen in the next update). I have no way of doing this on my own, but if someone ever implements a "seek to" function there may be an update to my patch.

ArcadeTV commented 3 years ago

Oh, and for the extra life tune: That one is indeed implemented to be played as chiptune while the CD audio stops and resumes. If it doesn't you may have found a bug. In this case I'd like to know what's your setup/what you play it on... Emulator/MegaEDpro/MegaSD...?

haroldo-ok commented 3 years ago

Okay, many thanks for the information. 👍

ArcadeTV commented 3 years ago

A new version of the driver was just released that adds seeking commands. I will have to see if I can rework the patch to make good use of it. FingersCrossed