Add support for disabling log from settings
This commit is contained in:
parent
ae311eb3ef
commit
371b61f3ea
8 changed files with 37 additions and 0 deletions
|
@ -59,10 +59,15 @@ void Config::ReadData() {
|
|||
Settings::values.use_virtual_sd = glfw_config->GetBoolean("Data Storage", "use_virtual_sd", true);
|
||||
}
|
||||
|
||||
void Config::ReadMiscellaneous() {
|
||||
Settings::values.enable_log = glfw_config->GetBoolean("Miscellaneous", "enable_log", true);
|
||||
}
|
||||
|
||||
void Config::Reload() {
|
||||
LoadINI(glfw_config, glfw_config_loc.c_str(), DefaultINI::glfw_config_file);
|
||||
ReadControls();
|
||||
ReadData();
|
||||
ReadMiscellaneous();
|
||||
}
|
||||
|
||||
Config::~Config() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue