Fix JASDram allocation race condition

Not sure if useful as long-term plan involves abandoning the DSP entirely.
This commit is contained in:
PJB3005
2026-02-26 23:19:15 +01:00
parent 06801cbd66
commit b6a6c4fd0e
3 changed files with 40 additions and 2 deletions
+6
View File
@@ -31,6 +31,12 @@ struct JASAudioThread : public JKRThread, public JASGlobalInstance<JASAudioThrea
/* 0x84 */ bool sbPauseFlag; // type unsure
static volatile int snIntCount; // type unsure
#if TARGET_PC
static bool sThreadInitComplete;
static OSMutex sThreadInitCompleteMutex;
static OSCond sThreadInitCompleteCond;
#endif
};
#endif /* JASAUDIOTHREAD_H */