mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-21 12:04:29 -04:00
fix: Add NCA Scanning Toggle for Game List
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -72,6 +72,9 @@ void ConfigureFilesystem::SetConfiguration() {
|
|||||||
ui->cache_game_list->setChecked(UISettings::values.cache_game_list.GetValue());
|
ui->cache_game_list->setChecked(UISettings::values.cache_game_list.GetValue());
|
||||||
ui->prompt_for_autoloader->setChecked(UISettings::values.prompt_for_autoloader.GetValue());
|
ui->prompt_for_autoloader->setChecked(UISettings::values.prompt_for_autoloader.GetValue());
|
||||||
|
|
||||||
|
// NCA Scanning Toggle
|
||||||
|
ui->scan_nca->setChecked(UISettings::values.scan_nca.GetValue());
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
ui->enable_backups_checkbox->setChecked(UISettings::values.updater_enable_backups.GetValue());
|
ui->enable_backups_checkbox->setChecked(UISettings::values.updater_enable_backups.GetValue());
|
||||||
const std::string& backup_path = UISettings::values.updater_backup_path.GetValue();
|
const std::string& backup_path = UISettings::values.updater_backup_path.GetValue();
|
||||||
@@ -100,6 +103,9 @@ void ConfigureFilesystem::ApplyConfiguration() {
|
|||||||
UISettings::values.cache_game_list = ui->cache_game_list->isChecked();
|
UISettings::values.cache_game_list = ui->cache_game_list->isChecked();
|
||||||
UISettings::values.prompt_for_autoloader = ui->prompt_for_autoloader->isChecked();
|
UISettings::values.prompt_for_autoloader = ui->prompt_for_autoloader->isChecked();
|
||||||
|
|
||||||
|
// NCA Scanning Toggle
|
||||||
|
UISettings::values.scan_nca = ui->scan_nca->isChecked();
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
UISettings::values.updater_enable_backups = ui->enable_backups_checkbox->isChecked();
|
UISettings::values.updater_enable_backups = ui->enable_backups_checkbox->isChecked();
|
||||||
const bool new_custom_backup_enabled = ui->custom_backup_location_checkbox->isChecked();
|
const bool new_custom_backup_enabled = ui->custom_backup_location_checkbox->isChecked();
|
||||||
|
|||||||
Reference in New Issue
Block a user