Skip to content
Permalink
Browse files

- 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
  • Loading branch information
alexey-lysiuk committed Jan 12, 2020
1 parent 5837348 commit c466422095ba47582911b099772a11542f16c5b6
Showing with 1 addition and 0 deletions.
  1. +1 −0 libraries/zmusic/streamsources/music_opl.cpp
@@ -81,6 +81,7 @@ OPLMUSSong::OPLMUSSong(MusicIO::FileInterface* reader, OPLConfig* config)
delete Music;
throw std::runtime_error(error);
}
current_opl_core = config->core;
}

//==========================================================================

0 comments on commit c466422

Please sign in to comment.
You can’t perform that action at this time.