/*1* Copyright (c) 2018-2025 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#ifndef _CONFIG_H_17#define _CONFIG_H_1819#include <bdk.h>2021#include "hos/hos.h"2223typedef struct _hekate_config24{25// Non-volatile config.26u32 autoboot;27u32 autoboot_list;28u32 bootwait;29u32 noticker;30u32 backlight;31u32 autohosoff;32u32 autonogc;33u32 updater2p;34u32 bootprotect;35// Global temporary config.36bool t210b01;37bool devmode;38bool emummc_force_disable;39bool rcm_patched;40bool autorcm_enabled;41u32 errors;42hos_eks_mbr_t *eks;43} hekate_config;4445typedef struct _nyx_config46{47u32 theme_bg; // COLOR_BG_BASE_MIN - COLOR_BG_BASE_MAX.48u32 theme_color;49u32 entries_5_col;50u32 timeoffset;51u32 timedst;52u32 home_screen;53u32 verification;54u32 ums_emmc_rw;55u32 jc_disable;56u32 jc_force_right;57u32 bpmp_clock;58} nyx_config;5960extern hekate_config h_cfg;61extern nyx_config n_cfg;6263void set_default_configuration();64void set_nyx_default_configuration();65int create_config_entry();66int create_nyx_config_entry(bool force_unmount);6768#endif /* _CONFIG_H_ */697071