mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
AUDIO: Fix compilation on AmigaOS 4
This commit is contained in:
parent
6df5e4c372
commit
dbf2f0c266
@ -352,9 +352,9 @@ do { \
|
||||
int DK3_ADPCMStream::readBuffer(int16 *buffer, const int numSamples) {
|
||||
assert((numSamples % 4) == 0);
|
||||
|
||||
const uint startOffset = _stream->pos() % _blockAlign;
|
||||
uint audioBytesLeft = _endpos - _stream->pos();
|
||||
uint blockBytesLeft;
|
||||
const uint32 startOffset = _stream->pos() % _blockAlign;
|
||||
uint32 audioBytesLeft = _endpos - _stream->pos();
|
||||
uint32 blockBytesLeft;
|
||||
if (startOffset != 0) {
|
||||
blockBytesLeft = _blockAlign - startOffset;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user