Fix GCC errors

This commit is contained in:
Natt Akuma 2022-05-10 17:36:09 +07:00
parent 28c0751659
commit 960a8e3616
1 changed files with 5 additions and 1 deletions

View File

@ -379,7 +379,11 @@ void DivPlatformSCC::quit() {
delete oscBuf[i];
}
if (scc!=NULL) {
delete scc;
if (isPlus) {
delete (k052539_scc_core*)scc;
} else {
delete (k051649_scc_core*)scc;
}
}
}