build system updates and other fixes

add preset config
import qt
separate core and frontend
This commit is contained in:
zhupengfei
2019-08-28 11:43:44 +08:00
parent d612b9cf37
commit fd5106759a
15 changed files with 723 additions and 46 deletions
+6 -3
View File
@@ -51,9 +51,6 @@ struct Config {
std::string safe_mode_firm_path; ///< Path to safe mode firm (A folder) (Sysdata 1)
std::string seed_db_path; ///< Path to seeddb.bin (Sysdata 2)
std::string secret_sector_path; ///< Path to secret sector (New3DS only) (Sysdata 3)
// Whether this config has all necessary information
bool is_good;
};
class SDMCImporter {
@@ -96,3 +93,9 @@ private:
Config config;
std::unique_ptr<SDMCDecryptor> decryptor;
};
/**
* Look for and load preset config for a SD card mounted at mount_point.
* @return a list of preset config available. can be empty
*/
std::vector<Config> LoadPresetConfig(std::string mount_point);