Make XCI comply to review and style guidelines
This commit is contained in:
parent
22342487e8
commit
239a3113e4
16 changed files with 223 additions and 482 deletions
|
@ -73,19 +73,6 @@ static void InitializeLogging() {
|
|||
int main(int argc, char** argv) {
|
||||
Config config;
|
||||
|
||||
// Initialize keys
|
||||
std::string keys_dir = FileUtil::GetHactoolConfigurationPath();
|
||||
if (Settings::values.use_dev_keys) {
|
||||
Crypto::keys.SetValidationMode(true);
|
||||
if (FileUtil::Exists(keys_dir + DIR_SEP + "dev.keys"))
|
||||
Crypto::keys.LoadFromFile(keys_dir + DIR_SEP + "dev.keys", false);
|
||||
} else {
|
||||
if (FileUtil::Exists(keys_dir + DIR_SEP + "prod.keys"))
|
||||
Crypto::keys.LoadFromFile(keys_dir + DIR_SEP + "prod.keys", false);
|
||||
}
|
||||
if (FileUtil::Exists(keys_dir + DIR_SEP + "title.keys"))
|
||||
Crypto::keys.LoadFromFile(keys_dir + DIR_SEP + "title.keys", true);
|
||||
|
||||
int option_index = 0;
|
||||
bool use_gdbstub = Settings::values.use_gdbstub;
|
||||
u32 gdb_port = static_cast<u32>(Settings::values.gdbstub_port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue