Cleanly shut down JKRDecomp thread

Properly join the thread to ensure it's shut down before we try to exit.

Fixes #268
This commit is contained in:
PJB3005
2026-04-07 20:06:29 +02:00
parent 39fae82047
commit 208f2aba9f
9 changed files with 47 additions and 6 deletions
+6
View File
@@ -42,6 +42,12 @@ JKRAram* JKRAram::create(u32 aram_audio_buffer_size, u32 aram_audio_graph_size,
return sAramObject;
}
#if TARGET_PC
void JKRAram::destroy() {
JKRDecomp::destroy();
}
#endif
OSMessage JKRAram::sMessageBuffer[4] = {
NULL,
NULL,