move the ini option steam_game_stats_reports_dir to the section [main::misc]

This commit is contained in:
a 2024-08-03 19:12:58 +03:00
parent a372a2ddb4
commit 6066d0cbe8
2 changed files with 8 additions and 6 deletions

View File

@ -1345,10 +1345,10 @@ static void parse_overlay_general_config(class Settings *settings_client, class
} }
// main::general::steam_game_stats_reports_dir // main::misc::steam_game_stats_reports_dir
static void parse_steam_game_stats_reports_dir(class Settings *settings_client, class Settings *settings_server) static void parse_steam_game_stats_reports_dir(class Settings *settings_client, class Settings *settings_server)
{ {
std::string line(common_helpers::string_strip(ini.GetValue("main::general", "steam_game_stats_reports_dir", ""))); std::string line(common_helpers::string_strip(ini.GetValue("main::misc", "steam_game_stats_reports_dir", "")));
if (line.size()) { if (line.size()) {
auto folder = common_helpers::to_absolute(line, get_full_program_path()); auto folder = common_helpers::to_absolute(line, get_full_program_path());
if (folder.size()) { if (folder.size()) {

View File

@ -57,10 +57,6 @@ matchmaking_server_details_via_source_query=0
# this is intended to debug some annoying scenarios, and best used with the debug build of the emu # this is intended to debug some annoying scenarios, and best used with the debug build of the emu
# default= # default=
crash_printer_location=./path/relative/to/dll/crashes.txt crash_printer_location=./path/relative/to/dll/crashes.txt
# some Source-based games use the interface ISteamGameStats to report some stats
# you can make the emu save this data to a folder
# empty value = don't save anything (default), otherwise the path specified must be writable
steam_game_stats_reports_dir=./path/relative/to/dll/
[main::connectivity] [main::connectivity]
# 1=prevent hooking OS networking APIs and allow any external requests # 1=prevent hooking OS networking APIs and allow any external requests
@ -119,3 +115,9 @@ disable_steamoverlaygameid_env_var=0
# https://developer.valvesoftware.com/wiki/Dedicated_Servers_List # https://developer.valvesoftware.com/wiki/Dedicated_Servers_List
# default=0 # default=0
enable_steam_preowned_ids=0 enable_steam_preowned_ids=0
# some Source-based games use the interface `ISteamGameStats` to report some stats
# you can make the emu save this data to a folder
# empty value = don't save anything (default)
# the emu will create the folders if they are missing but the path specified must be writable
# default=
steam_game_stats_reports_dir=./path/relative/to/dll/