Fix GCC errors 2

This commit is contained in:
Natt Akuma 2022-05-11 00:29:17 +07:00
parent 960a8e3616
commit 00414c6504
2 changed files with 2 additions and 5 deletions

View File

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

View File

@ -41,6 +41,7 @@ public:
scc_core()
: m_voice{*this,*this,*this,*this,*this}
{};
virtual ~scc_core(){};
// accessors
virtual u8 scc_r(bool is_sccplus, u8 address) = 0;