aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/linker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/linker.cpp')
-rw-r--r--engines/cruise/linker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cruise/linker.cpp b/engines/cruise/linker.cpp
index d7268c2f02..bb6f682e1e 100644
--- a/engines/cruise/linker.cpp
+++ b/engines/cruise/linker.cpp
@@ -184,7 +184,7 @@ int updateScriptImport(int ovlIdx) {
*(ptr + 1) = out2;
*(int16 *)(ptr + 2) = ptrDest2->idx;
- flipShort((int16 *)(ptr + 2));
+ bigEndianShortToNative((int16 *)(ptr + 2));
} else {
if (param2 == 20 || param2 == 30 || param2 == 40 || param2 == 50) { // this patch a double push
uint8 *ptr = ptrData + temp;
@@ -194,7 +194,7 @@ int updateScriptImport(int ovlIdx) {
*(int16 *)(ptr + 4) = ptrDest2->idx;
- flipShort((int16 *)(ptr + 4));
+ bigEndianShortToNative((int16 *)(ptr + 4));
} else {
int var_4 = ptrDest2->var4;
@@ -215,7 +215,7 @@ int updateScriptImport(int ovlIdx) {
*(int16 *)(ptrData + temp + 2) = ptrDest2->idx;
- flipShort
+ bigEndianShortToNative
(
(int16
*)