Skip to content

Commit

Permalink
- fixed uninitialized variable in OPL song
Browse files Browse the repository at this point in the history
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 c466422
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/zmusic/streamsources/music_opl.cpp
Expand Up @@ -81,6 +81,7 @@ OPLMUSSong::OPLMUSSong(MusicIO::FileInterface* reader, OPLConfig* config)
delete Music;
throw std::runtime_error(error);
}
current_opl_core = config->core;
}

//==========================================================================
Expand Down

0 comments on commit c466422

Please sign in to comment.