diff options
author | Treeki <treeki@gmail.com> | 2014-06-03 05:55:54 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-06-03 05:55:54 +0200 |
commit | 7a9387269e3b123b1647cf59c78cc6c998a9a330 (patch) | |
tree | 7874647c497a6b6113f660ff27f6f79b7fc7d4aa /wii | |
parent | be8b56a7f0a8f6ba5456a099b61d032fd8aa2f61 (diff) | |
download | LayoutStudio-7a9387269e3b123b1647cf59c78cc6c998a9a330.tar.gz LayoutStudio-7a9387269e3b123b1647cf59c78cc6c998a9a330.zip |
experimental 3DS support
Diffstat (limited to 'wii')
-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); } |