The only thing I changed in the audio code was the alignment for a structure that is also used on the 68k part of the AHI code.
Basically:
Code:
#if defined(__WOS__)
#pragma amiga-align
#endif
struct AHIChannelInfo
{
struct AHIEffChannelInfo aeci;
ULONG offset;
};
#if defined(__WOS__)
#pragma default-align
#endif
Didn't feel that something changed, but that kind of alignment was used in BlitzQuake/AHI, so I considered this a fix or the "proper way".
Well, nobody besides BSzili has the whole code, but Q2 has a similar approach & probably this "fix" could be done in the future (didn't know about the distortion).