mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
fixing is_beta_branch in ini
This commit is contained in:
parent
2560c6eb8e
commit
63552d7584
@ -1207,6 +1207,10 @@ static bool parse_branches_file(
|
||||
return false;
|
||||
}
|
||||
|
||||
settings_client->is_beta_branch = ini.GetBoolValue("app::general", "is_beta_branch", settings_client->is_beta_branch);
|
||||
settings_server->is_beta_branch = ini.GetBoolValue("app::general", "is_beta_branch", settings_server->is_beta_branch);
|
||||
|
||||
|
||||
// app::general::branch_name
|
||||
std::string selected_branch = common_helpers::string_strip(ini.GetValue("app::general", "branch_name", ""));
|
||||
if (selected_branch.empty()) {
|
||||
@ -1376,9 +1380,6 @@ static void parse_simple_features(class Settings *settings_client, class Setting
|
||||
settings_client->disable_account_avatar = !ini.GetBoolValue("main::general", "enable_account_avatar", !settings_client->disable_account_avatar);
|
||||
settings_server->disable_account_avatar = !ini.GetBoolValue("main::general", "enable_account_avatar", !settings_server->disable_account_avatar);
|
||||
|
||||
settings_client->is_beta_branch = ini.GetBoolValue("main::general", "is_beta_branch", settings_client->is_beta_branch);
|
||||
settings_server->is_beta_branch = ini.GetBoolValue("main::general", "is_beta_branch", settings_server->is_beta_branch);
|
||||
|
||||
settings_client->steam_deck = ini.GetBoolValue("main::general", "steam_deck", settings_client->steam_deck);
|
||||
settings_server->steam_deck = ini.GetBoolValue("main::general", "steam_deck", settings_server->steam_deck);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user