aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorathrxx2019-12-18 21:40:03 +0100
committerathrxx2019-12-18 21:40:03 +0100
commit6193b6ce22172319da1be7ce74b20b34fc0db75e (patch)
tree84d279b303ed900c896a9551278ea2c4785552e2 /audio
parent64b897a5607d2baca980178fa7fbdb55770ea938 (diff)
downloadscummvm-rg350-6193b6ce22172319da1be7ce74b20b34fc0db75e.tar.gz
scummvm-rg350-6193b6ce22172319da1be7ce74b20b34fc0db75e.tar.bz2
scummvm-rg350-6193b6ce22172319da1be7ce74b20b34fc0db75e.zip
AUDIO: fix AmigaOS build
Diffstat (limited to 'audio')
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
index db81485426..ad12a4be57 100644
--- a/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
+++ b/audio/softsynth/fmtowns_pc98/towns_pc98_fmsynth.cpp
@@ -1173,7 +1173,7 @@ int TownsPC98_FmSynth::readBuffer(int16 *buffer, const int numSamples) {
_timers[i].enabled = _registers[0x27][0] & (4 << i);
}
- render = MIN(render, _timers[i].smpTillCb);
+ render = MIN<int>(render, _timers[i].smpTillCb);
}
}