From 91069ae3b28b3ba908b6c1135c530fc905223bcd Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Thu, 12 Mar 2026 14:46:18 +0100 Subject: [PATCH] Fix incorrect JASChannel size for JASPoolAllocObject_MultiThreaded Despair --- libs/JSystem/src/JAudio2/JASAudioThread.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/JSystem/src/JAudio2/JASAudioThread.cpp b/libs/JSystem/src/JAudio2/JASAudioThread.cpp index c978e62aeb..943a3e5cfe 100644 --- a/libs/JSystem/src/JAudio2/JASAudioThread.cpp +++ b/libs/JSystem/src/JAudio2/JASAudioThread.cpp @@ -55,9 +55,14 @@ private: BOOL mInterrupts; }; +#if !TARGET_PC class JASChannel { u8 filler[0x108]; }; +#else +// You don't want to know how long I spent debugging this. +#include "JSystem/JAudio2/JASChannel.h" +#endif // NONMATCHING location of JASPoolAllocObject_MultiThreaded void* JASAudioThread::run() {