TSAGE: Properly destroy OPL instance on shutdown

This commit is contained in:
Paul Gilbert 2011-06-15 01:26:01 +10:00
parent 28e236dc68
commit a7ee13a1ec

View File

@ -2396,6 +2396,7 @@ AdlibSoundDriver::AdlibSoundDriver(): SoundDriver() {
AdlibSoundDriver::~AdlibSoundDriver() {
DEALLOCATE(_patchData);
OPLDestroy(_opl);
}
bool AdlibSoundDriver::open() {