aboutsummaryrefslogtreecommitdiff
path: root/sky/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/debug.cpp')
-rw-r--r--sky/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/debug.cpp b/sky/debug.cpp
index 3caec144c6..66f39d8c75 100644
--- a/sky/debug.cpp
+++ b/sky/debug.cpp
@@ -409,7 +409,7 @@ void SkyDebug::script(uint32 command, uint16 *scriptData) {
int i;
printf("SCRIPT: %s", opcodes[command]);
for (i = 0; i < opcode_par[command]; i++)
- printf(" %d", *(scriptData + i));
+ printf(" %d", READ_LE_UINT16(scriptData + i));
printf("\n");
}