View Full Version : Older UAEs: Turrican II diamond collect sound wrong
09 September 2010, 09:09
In older versions of UAE (0.8.xx) and WinUAE the sample for collecting diamonds isn't correctly played.
It's just a short "ding!"-sound instead of the nice full sample we know from real Amigas and more recent versions of WinUAE.
@Toni Wilen: Do you still remember with which WinUAE version you fixed this? Did it just work after a major rewrite of the audio-emulation part? Or is there a simple fix one could apply to the old source to make this sample be fully played?
09 September 2010, 12:19
Set sound emulation to exact (slowest) if it is available in your version. This fixes it in winuae as old as 0.8.27 at least.
09 September 2010, 12:43
Although it's not available in my version it's a clue where to look. Thanks.
09 September 2010, 14:03
Okay, just commented these lines out (in audio.cpp):
static __inline__ void audio_handler (int nr):
//else if (cdp->dat < maxhpos * CYCLE_UNIT / 2)
// (cdp+1)->per = maxhpos * CYCLE_UNIT / 2;
void AUDxPER(int nr, uae_u16 v):
//if (per < maxhpos * CYCLE_UNIT / 2)
// per = maxhpos * CYCLE_UNIT / 2;
Now the diamonds sound like they're supposed to in UAE4All. Also other sfx sound more clean.
09 September 2010, 15:34
I think I have rewritten it at least twice :)
09 September 2010, 20:40
Glad this simple fix already worked - because the rewritten audio emulation sources would need a lot more effort to get them working with UAE4All.
Of course the newer sources are even more accurate - but the old audio-emulation is good enough.
09 September 2010, 22:26
Simple fix may not be that simple, on Winuae.8.27 if you enable sound emulation 'Enabled 100% Accurate' then it fixes diamonds in Turrican II, but the Chaos Engine (and some other games) will not load. Sound emulation has to be switched back to 'Enabled' for those games.
10 September 2010, 07:35
Okay - thanks a lot for the info. I'll let the "speedy sound" as an option in then, too.
vBulletin® v3.7.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.