diff options
Diffstat (limited to 'engines/cine/sfx_player.cpp')
-rw-r--r-- | engines/cine/sfx_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/sfx_player.cpp b/engines/cine/sfx_player.cpp index 0612d3fe5d..45dcfa9c18 100644 --- a/engines/cine/sfx_player.cpp +++ b/engines/cine/sfx_player.cpp @@ -258,7 +258,7 @@ void snd_handlePattern(int channelNum, const uint8 *patternData) { if (snd_mute != 0) (*snd_driver.stopChannel)(channelNum); else { - int16 freq = (int16)readU16BE(patternData); + int16 freq = (int16)READ_BE_UINT16(patternData); if (freq > 0) { (*snd_driver.stopChannel)(channelNum); (*snd_driver.setChannelFrequency)(channelNum, freq); |