aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-08 23:21:11 +0200
committerEugene Sandulenko2016-05-08 23:21:11 +0200
commitfb18a15b97d23577fa7d0fef3f7aff07d616af92 (patch)
tree2e49c31fb6ac00b6d3f2ba24b80455c19065bf72
parenta05f2121a16368d4d7946cd65390f7668e6fbe2f (diff)
downloadscummvm-rg350-fb18a15b97d23577fa7d0fef3f7aff07d616af92.tar.gz
scummvm-rg350-fb18a15b97d23577fa7d0fef3f7aff07d616af92.tar.bz2
scummvm-rg350-fb18a15b97d23577fa7d0fef3f7aff07d616af92.zip
AUDIO FM-TOWNS: Fix copy/paste error
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
index 685ee99e6f..d536429f4e 100644
--- a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
+++ b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
@@ -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