Tonight/today I made a little modification to fix the loud crackles/distortion in the iremga20 sound driver, which is used by irem M92(and M107) games. This improves the sound in-game for In the Hunt quite a bit.
EDIT: *the next day* regarding IREM m92 savestates - fixed occasional lost sound on savestate load, some other misc crackle/distortion/clipping prevention in other sound drivers. tip: mixing 16bit samples with "
sample += newsample;" can cause this issue if the result is larger than 65535 - which happens on particularly loud and/or bassy samples, use "
sample = BURN_SND_CLIP(sample + newsample);" instead
Oh yea, a little playtesting never hurts
[see pic below, game: R-Type LEO]
best regards,
- dink