mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 09:07:57 -05:00
Remove files that are not used
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
#include "yuzu_cmd/emu_window/emu_window_sdl2.h"
|
||||
|
||||
#include <getopt.h>
|
||||
#include "core/crypto/key_manager.h"
|
||||
#ifndef _MSC_VER
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
@ -71,6 +72,20 @@ static void InitializeLogging() {
|
||||
/// Application entry point
|
||||
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);
|
||||
|
Reference in New Issue
Block a user