Add version check

This commit is contained in:
zhupengfei
2020-05-15 23:08:59 +08:00
parent 2fbdaaac30
commit 5d008fc952
3 changed files with 37 additions and 5 deletions
+5
View File
@@ -79,8 +79,13 @@ struct Config {
std::string system_archives_path; ///< Path to system archives.
std::string system_titles_path; ///< Path to system titles.
int version = 0; ///< Version of the dumper used.
};
// Version of the current dumper.
constexpr int CurrentDumperVersion = 1;
class SDMCFile;
template <typename File>