Skip to content

Commit

Permalink
ZVISION: Attempt to fix compilation on AmigaOS4
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Oct 18, 2013
1 parent 821a743 commit aba818d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/zvision/zork_raw.cpp
Expand Up @@ -127,7 +127,7 @@ int RawZorkStream::readBuffer(int16 *buffer, const int numSamples) {
sample = -sample;

sample += _lastSample[channel].sample;
sample = CLIP(sample, -32768, 32767);
sample = CLIP<int32>(sample, -32768, 32767);

buffer[bytesRead - 1] = (int16)sample;

Expand Down

0 comments on commit aba818d

Please sign in to comment.