AUDIO FM-TOWNS: Fix copy/paste error

This commit is contained in:
Eugene Sandulenko 2016-05-08 23:21:11 +02:00
parent a05f2121a1
commit fb18a15b97

View File

@ -1043,12 +1043,12 @@ void TownsPC98_FmSynth::writeReg(uint8 part, uint8 regAddress, uint8 value) {
if (value & 0x10) {
_timers[0].smpTillCb = _timers[0].smpPerCb;
_timers[0].smpTillCbRem = _timers[0].smpTillCbRem;
_timers[0].smpTillCbRem = _timers[0].smpPerCbRem;
}
if (value & 0x20) {
_timers[1].smpTillCb = _timers[1].smpPerCb;
_timers[1].smpTillCbRem = _timers[1].smpTillCbRem;
_timers[1].smpTillCbRem = _timers[1].smpPerCbRem;
}
} else if (l == 2) {
// LFO