mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
SCUMM: Fix compilation on AmigaOS4.
This commit is contained in:
parent
1782f85bee
commit
9a0e2b7ee7
@ -346,7 +346,7 @@ int Player_Mac::readBuffer(int16 *data, const int numSamples) {
|
||||
_channel[i]._remaining = samplesLeft;
|
||||
}
|
||||
}
|
||||
generated = MIN(_channel[i]._remaining, samplesLeft);
|
||||
generated = MIN<uint32>(_channel[i]._remaining, samplesLeft);
|
||||
if (_channel[i]._velocity != 0) {
|
||||
_channel[i]._instrument.generateSamples(ptr, _channel[i]._pitchModifier, _channel[i]._velocity, generated, _channel[i]._remaining, _fadeNoteEnds);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user