From 7a9387269e3b123b1647cf59c78cc6c998a9a330 Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 3 Jun 2014 05:55:54 +0200 Subject: experimental 3DS support --- wii/common.cpp | 1 - wii/common.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'wii') 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); } -- cgit v1.2.3