/*1* Copyright (c) 2018-2022 CTCaer2*3* This program is free software; you can redistribute it and/or modify it4* under the terms and conditions of the GNU General Public License,5* version 2, as published by the Free Software Foundation.6*7* This program is distributed in the hope it will be useful, but WITHOUT8* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or9* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for10* more details.11*12* You should have received a copy of the GNU General Public License13* along with this program. If not, see <http://www.gnu.org/licenses/>.14*/1516#include <string.h>17#include <stdlib.h>1819#include <bdk.h>2021#include "config.h"22#include "gfx/tui.h"23#include <libs/fatfs/ff.h>2425extern hekate_config h_cfg;2627void set_default_configuration()28{29h_cfg.t210b01 = hw_get_chip_id() == GP_HIDREV_MAJOR_T210B01;3031h_cfg.autoboot = 0;32h_cfg.autoboot_list = 0;33h_cfg.bootwait = 3;34h_cfg.noticker = 0; //! TODO: Add GUI option.35h_cfg.backlight = 100;36h_cfg.autohosoff = h_cfg.t210b01 ? 1 : 0;37h_cfg.autonogc = 1;38h_cfg.updater2p = 0;39h_cfg.bootprotect = 0;4041h_cfg.errors = 0;42h_cfg.eks = NULL;43h_cfg.rcm_patched = fuse_check_patched_rcm();44h_cfg.emummc_force_disable = false;45}464748