View Single Post
Old 02 September 2017, 19:03   #60
Cowcat
Registered User
 
Join Date: Apr 2013
Location: Mallorca
Posts: 758
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).

Last edited by Cowcat; 02 September 2017 at 19:09.
Cowcat is offline  
 
Page generated in 0.07723 seconds with 11 queries