- fixed uninitialized variable in OPL song

Mono streams could be erroneously treated as stereo, doubling their playback speed

https://forum.zdoom.org/viewtopic.php?t=66939
This commit is contained in:
alexey.lysiuk 2020-01-12 18:02:26 +02:00
parent 583734861e
commit c466422095
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ OPLMUSSong::OPLMUSSong(MusicIO::FileInterface* reader, OPLConfig* config)
delete Music;
throw std::runtime_error(error);
}
current_opl_core = config->core;
}
//==========================================================================