mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-04 08:48:45 -04:00
next round of standard compiler fixes (#2969)
* next round of standard compiler fixes * Fix weak function order issue * fix missmatch with ShieldD version
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
|
||||
void JASCalc::imixcopy(const s16* s1, const s16* s2, s16* dst, u32 n) {
|
||||
for (n; n != 0; n--) {
|
||||
*dst++ = *((s16*)s1)++;
|
||||
*dst++ = *((s16*)s2)++;
|
||||
*dst++ = *(s1)++;
|
||||
*dst++ = *(s2)++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,10 +21,10 @@ void JASCalc::bcopyfast(const void* src, void* dest, u32 size) {
|
||||
u32* udest = (u32*)dest;
|
||||
|
||||
for (size = size / (4 * sizeof(u32)); size != 0; size--) {
|
||||
copy1 = *((u32*)usrc)++;
|
||||
copy2 = *((u32*)usrc)++;
|
||||
copy3 = *((u32*)usrc)++;
|
||||
copy4 = *((u32*)usrc)++;
|
||||
copy1 = *(usrc)++;
|
||||
copy2 = *(usrc)++;
|
||||
copy3 = *(usrc)++;
|
||||
copy4 = *(usrc)++;
|
||||
|
||||
*udest++ = copy1;
|
||||
*udest++ = copy2;
|
||||
@@ -263,6 +263,9 @@ s16 const JASCalc::CUTOFF_TO_IIR_TABLE[128][4] = {
|
||||
0x7FFF, 0x0000, 0x0000, 0x0000,
|
||||
};
|
||||
|
||||
template <>
|
||||
s16 JASCalc::clamp(s32);
|
||||
|
||||
// currently required because of missing functions
|
||||
// JASCalc::hannWindow(short *, u32)
|
||||
// JASCalc::hammWindow(short *, u32)
|
||||
|
||||
Reference in New Issue
Block a user