aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-21 02:02:34 -0400
committerLioncash <mathew1800@gmail.com>2016-03-21 02:09:12 -0400
commit01cd6fbef4216d2ff4cc85706daeeb8125a4bca8 (patch)
tree8c1b84f21bb268b897f3197cfec9a2ae32bdae45 /src/core/file_sys
parentddb87c0f9582963d9b625fc52cfe0cce60bdf310 (diff)
archive_extsavedata: Fix member initialization order
shared appears in the initializer list before mount_point
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/archive_extsavedata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/archive_extsavedata.h b/src/core/file_sys/archive_extsavedata.h
index 287a6fee15..e9a72850d6 100644
--- a/src/core/file_sys/archive_extsavedata.h
+++ b/src/core/file_sys/archive_extsavedata.h
@@ -45,13 +45,14 @@ public:
void WriteIcon(const Path& path, const u8* icon_data, size_t icon_size);
private:
+ bool shared; ///< Whether this archive represents an ExtSaveData archive or a SharedExtSaveData archive
+
/**
* This holds the full directory path for this archive, it is only set after a successful call
* to Open, this is formed as <base extsavedatapath>/<type>/<high>/<low>.
* See GetExtSaveDataPath for the code that extracts this data from an archive path.
*/
std::string mount_point;
- bool shared; ///< Whether this archive represents an ExtSaveData archive or a SharedExtSaveData archive
};
/**