summaryrefslogtreecommitdiff
path: root/wii
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2014-06-03 05:55:54 +0200
committerTreeki <treeki@gmail.com>2014-06-03 05:55:54 +0200
commit7a9387269e3b123b1647cf59c78cc6c998a9a330 (patch)
tree7874647c497a6b6113f660ff27f6f79b7fc7d4aa /wii
parentbe8b56a7f0a8f6ba5456a099b61d032fd8aa2f61 (diff)
downloadLayoutStudio-7a9387269e3b123b1647cf59c78cc6c998a9a330.tar.gz
LayoutStudio-7a9387269e3b123b1647cf59c78cc6c998a9a330.zip
experimental 3DS support
Diffstat (limited to 'wii')
-rw-r--r--wii/common.cpp1
-rw-r--r--wii/common.h2
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);
}