diff options
Diffstat (limited to '')
-rw-r--r-- | wii/common.cpp | 1 | ||||
-rw-r--r-- | wii/common.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/wii/common.cpp b/wii/common.cpp index 8f552b3..164d7d2 100644 --- a/wii/common.cpp +++ b/wii/common.cpp @@ -54,7 +54,6 @@ QStringList ReadStringList(QDataStream &in) { for (int i = 0; i < count; i++) { quint32 offset; in >> (quint32&)offset; - in.skipRawData(4); // unused? stringOffsets[i] = offset; } diff --git a/wii/common.h b/wii/common.h index b440841..c674912 100644 --- a/wii/common.h +++ b/wii/common.h @@ -98,7 +98,7 @@ inline void WritePointF(QDataStream &stream, const QPointF &point) { } inline void InitDataStream(QDataStream &stream) { - stream.setByteOrder(QDataStream::BigEndian); + stream.setByteOrder(QDataStream::LittleEndian); stream.setVersion(QDataStream::Qt_4_5); } |