Merge pull request #1560 from lioncash/savedata

archive_extsavedata: Fix member initialization order
This commit is contained in:
bunnei 2016-03-22 11:56:47 -04:00
commit 85edb851b0

View file

@ -45,13 +45,14 @@ public:
void WriteIcon(const Path& path, const u8* icon_data, size_t icon_size); void WriteIcon(const Path& path, const u8* icon_data, size_t icon_size);
private: 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 * 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>. * to Open, this is formed as <base extsavedatapath>/<type>/<high>/<low>.
* See GetExtSaveDataPath for the code that extracts this data from an archive path. * See GetExtSaveDataPath for the code that extracts this data from an archive path.
*/ */
std::string mount_point; std::string mount_point;
bool shared; ///< Whether this archive represents an ExtSaveData archive or a SharedExtSaveData archive
}; };
/** /**