Encrypt downloaded apps with a console unique key

This commit is contained in:
PabloMK7
2025-03-01 13:12:52 +01:00
committed by GitHub
parent b8e138679c
commit 8ad53ca705
19 changed files with 427 additions and 142 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2016 Citra Emulator Project
// Copyright Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
@@ -126,7 +126,7 @@ void ConfigureDebug::SetConfiguration() {
void ConfigureDebug::ApplyConfiguration() {
Settings::values.use_gdbstub = ui->toggle_gdbstub->isChecked();
Settings::values.gdbstub_port = ui->gdbport_spinbox->value();
Settings::values.gdbstub_port = static_cast<u16>(ui->gdbport_spinbox->value());
UISettings::values.show_console = ui->toggle_console->isChecked();
Settings::values.log_filter = ui->log_filter_edit->text().toStdString();
Settings::values.log_regex_filter = ui->log_regex_filter_edit->text().toStdString();

View File

@@ -1,4 +1,4 @@
// Copyright 2016 Citra Emulator Project
// Copyright Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
@@ -412,7 +412,7 @@ void ConfigureSystem::ApplyConfiguration() {
s32 new_birthmonth = ui->combo_birthmonth->currentIndex() + 1;
s32 new_birthday = ui->combo_birthday->currentIndex() + 1;
if (birthmonth != new_birthmonth || birthday != new_birthday) {
cfg->SetBirthday(new_birthmonth, new_birthday);
cfg->SetBirthday(static_cast<u8>(new_birthmonth), static_cast<u8>(new_birthday));
modified = true;
}