mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-03 02:53:08 -04:00
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:
@@ -33,6 +33,9 @@ struct JFWSystem {
|
||||
|
||||
static void firstInit();
|
||||
static void init();
|
||||
#if TARGET_PC
|
||||
static void shutdown();
|
||||
#endif
|
||||
|
||||
static JUTConsole* getSystemConsole() { return systemConsole; }
|
||||
static JKRExpHeap* getSystemHeap() { return systemHeap; }
|
||||
|
||||
@@ -39,6 +39,9 @@ public:
|
||||
|
||||
public:
|
||||
static JKRAram* create(u32, u32, s32, s32, s32);
|
||||
#if TARGET_PC
|
||||
static void destroy();
|
||||
#endif
|
||||
static void checkOkAddress(u8*, u32, JKRAramBlock*, u32);
|
||||
static void changeGroupIdIfNeed(u8*, int);
|
||||
static JKRAramBlock* mainRamToAram(u8*, u32, u32, JKRExpandSwitch, u32, JKRHeap*, int, u32*);
|
||||
|
||||
@@ -48,6 +48,9 @@ private:
|
||||
|
||||
public:
|
||||
static JKRDecomp* create(s32);
|
||||
#if TARGET_PC
|
||||
static void destroy();
|
||||
#endif
|
||||
static JKRDecompCommand* prepareCommand(u8*, u8*, u32, u32, JKRDecompCommand::AsyncCallback);
|
||||
static void sendCommand(JKRDecompCommand*);
|
||||
static bool sync(JKRDecompCommand*, int);
|
||||
|
||||
Reference in New Issue
Block a user