Fix GCC errors 2
This commit is contained in:
parent
960a8e3616
commit
00414c6504
|
@ -379,11 +379,7 @@ void DivPlatformSCC::quit() {
|
||||||
delete oscBuf[i];
|
delete oscBuf[i];
|
||||||
}
|
}
|
||||||
if (scc!=NULL) {
|
if (scc!=NULL) {
|
||||||
if (isPlus) {
|
delete scc;
|
||||||
delete (k052539_scc_core*)scc;
|
|
||||||
} else {
|
|
||||||
delete (k051649_scc_core*)scc;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ public:
|
||||||
scc_core()
|
scc_core()
|
||||||
: m_voice{*this,*this,*this,*this,*this}
|
: m_voice{*this,*this,*this,*this,*this}
|
||||||
{};
|
{};
|
||||||
|
virtual ~scc_core(){};
|
||||||
|
|
||||||
// accessors
|
// accessors
|
||||||
virtual u8 scc_r(bool is_sccplus, u8 address) = 0;
|
virtual u8 scc_r(bool is_sccplus, u8 address) = 0;
|
||||||
|
|
Loading…
Reference in New Issue