diff options
-rw-r--r-- | engines/cruise/saveload.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/cruise/saveload.cpp b/engines/cruise/saveload.cpp index 4230829bcf..0084b10cb9 100644 --- a/engines/cruise/saveload.cpp +++ b/engines/cruise/saveload.cpp @@ -258,7 +258,6 @@ static void syncOverlays2(Common::Serializer &s) { // save BSS s.syncAsSint16LE(ovlData->sizeOfData4); if (ovlData->sizeOfData4) - // FIXME: Endian and structure packing problems for this data pointer s.syncBytes(ovlData->data4Ptr, ovlData->sizeOfData4); // save variables @@ -344,8 +343,6 @@ void syncScript(Common::Serializer &s, scriptInstanceStruct *entry) { s.syncAsSint16LE(ptr->varA); if (ptr->varA) { - // FIXME: This code is not endian safe, and breaks if struct - // packing changes. Read/write the members one by one instead. if (s.isLoading()) ptr->var6 = (byte *)mallocAndZero(ptr->varA); s.syncBytes(ptr->var6, ptr->varA); |