aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryo/video.cpp')
-rw-r--r--engines/cryo/video.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cryo/video.cpp b/engines/cryo/video.cpp
index fe8afb7ce8..81e3ee171d 100644
--- a/engines/cryo/video.cpp
+++ b/engines/cryo/video.cpp
@@ -129,7 +129,7 @@ void HnmPlayer::closeSound() {
void HnmPlayer::loadDecompTable(int16 *buffer) {
for (int16 i = 0; i < 256; i++) {
int16 e = *buffer++;
- decompTable[i] = LE16(e);
+ decompTable[i] = FROM_LE_16(e);
}
}
@@ -225,7 +225,7 @@ void HnmPlayer::tryRead(int size) {
bool HnmPlayer::loadFrame() {
tryRead(4);
int chunk = *(int *)_readBuffer;
- chunk = LE32(chunk);
+ chunk = FROM_LE_32(chunk);
chunk &= 0xFFFFFF; // upper bit - keyframe mark?
if (!chunk)
return false;