fix IOP getting stuck on music load (#1437)

* fix IOP getting stuck on music load

* fix regression? and clang

* fix a decomp

* fix another regression

* another

* fix "all actors"

* another regression!
This commit is contained in:
ManDude
2022-06-11 00:04:16 +01:00
committed by GitHub
parent 3ce301ad0d
commit 8ba89dd95e
17 changed files with 98 additions and 56 deletions
+4
View File
@@ -49,6 +49,7 @@
#include "game/overlord/srpc.h"
#include "game/overlord/stream.h"
#include "game/overlord/sbank.h"
#include "game/overlord/ssound.h"
#include "game/graphics/gfx.h"
@@ -330,6 +331,9 @@ RuntimeExitStatus exec_runtime(int argc, char** argv) {
Gfx::Exit();
}
// hack to make the IOP die quicker if it's loading/unloading music
gMusicFade = 0;
deci_thread.join();
// DECI has been killed, shutdown!