citra-emu
/
citra
Archived
1
0
Fork 0

archive_extsavedata: Fix member initialization order

shared appears in the initializer list before mount_point
This commit is contained in:
Lioncash 2016-03-21 02:02:34 -04:00
parent b83e95727f
commit f6ad3e42f0
1 changed files with 2 additions and 1 deletions

View File

@ -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
};
/**