mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
SCI: Fix compilation on AmigaOS.
svn-id: r52784
This commit is contained in:
parent
5abbe7204e
commit
9f273b31aa
@ -588,7 +588,7 @@ void MidiDriver_CMS::generateSamples(int16 *buffer, int len) {
|
||||
}
|
||||
}
|
||||
|
||||
int32 render = MIN(len, _samplesTillCallback);
|
||||
int32 render = MIN<int32>(len, _samplesTillCallback);
|
||||
len -= render;
|
||||
_samplesTillCallback -= render;
|
||||
_cms->readBuffer(buffer, render);
|
||||
|
Loading…
x
Reference in New Issue
Block a user