aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorMax Horn2003-11-16 23:35:00 +0000
committerMax Horn2003-11-16 23:35:00 +0000
commitb5d3add003b8aa8abac1a9a3c1c06dd8690d3195 (patch)
tree3a93c46e1b47de38d968f1202213cd7031a8e606 /sword2
parent20672bd904a364860b6cdc172569ea2e8b0b88a6 (diff)
downloadscummvm-rg350-b5d3add003b8aa8abac1a9a3c1c06dd8690d3195.tar.gz
scummvm-rg350-b5d3add003b8aa8abac1a9a3c1c06dd8690d3195.tar.bz2
scummvm-rg350-b5d3add003b8aa8abac1a9a3c1c06dd8690d3195.zip
fix compilation on big endian systems
svn-id: r11318
Diffstat (limited to 'sword2')
-rw-r--r--sword2/save_rest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/save_rest.cpp b/sword2/save_rest.cpp
index 57ca7fcd32..218ed27d9e 100644
--- a/sword2/save_rest.cpp
+++ b/sword2/save_rest.cpp
@@ -42,10 +42,10 @@ namespace Sword2 {
// Quick macro to make swapping in-place easier to write
#define SWAP32(x) x = SWAP_BYTES_32(x)
-static void convertHeaderEndian(Sword2Engine::_savegameHeader &header) {
+static void convertHeaderEndian(Sword2Engine::SaveGameHeader &header) {
int i;
- // _savegameHeader
+ // SaveGameHeader
SWAP32(header.checksum);
SWAP32(header.varLength);
SWAP32(header.screenId);