diff options
| author | 2016-03-21 02:02:34 -0400 | |
|---|---|---|
| committer | 2016-03-21 02:09:12 -0400 | |
| commit | f6ad3e42f0215aab166ae2b6d0c44fc72879d4df (patch) | |
| tree | 8c1b84f21bb268b897f3197cfec9a2ae32bdae45 /src | |
| parent | Merge pull request #1302 from Subv/save_fix (diff) | |
| download | yuzu-f6ad3e42f0215aab166ae2b6d0c44fc72879d4df.tar.gz yuzu-f6ad3e42f0215aab166ae2b6d0c44fc72879d4df.tar.xz yuzu-f6ad3e42f0215aab166ae2b6d0c44fc72879d4df.zip | |
archive_extsavedata: Fix member initialization order
shared appears in the initializer list before mount_point
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/archive_extsavedata.h | 3 |
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 287a6fee1..e9a72850d 100644 --- a/src/core/file_sys/archive_extsavedata.h +++ b/src/core/file_sys/archive_extsavedata.h | |||
| @@ -45,13 +45,14 @@ public: | |||
| 45 | void WriteIcon(const Path& path, const u8* icon_data, size_t icon_size); | 45 | void WriteIcon(const Path& path, const u8* icon_data, size_t icon_size); |
| 46 | 46 | ||
| 47 | private: | 47 | private: |
| 48 | bool shared; ///< Whether this archive represents an ExtSaveData archive or a SharedExtSaveData archive | ||
| 49 | |||
| 48 | /** | 50 | /** |
| 49 | * This holds the full directory path for this archive, it is only set after a successful call | 51 | * This holds the full directory path for this archive, it is only set after a successful call |
| 50 | * to Open, this is formed as <base extsavedatapath>/<type>/<high>/<low>. | 52 | * to Open, this is formed as <base extsavedatapath>/<type>/<high>/<low>. |
| 51 | * See GetExtSaveDataPath for the code that extracts this data from an archive path. | 53 | * See GetExtSaveDataPath for the code that extracts this data from an archive path. |
| 52 | */ | 54 | */ |
| 53 | std::string mount_point; | 55 | std::string mount_point; |
| 54 | bool shared; ///< Whether this archive represents an ExtSaveData archive or a SharedExtSaveData archive | ||
| 55 | }; | 56 | }; |
| 56 | 57 | ||
| 57 | /** | 58 | /** |