Add shared_folder INI option.

This commit is contained in:
sorgelig
2020-07-03 05:52:19 +08:00
parent 29e9150ca7
commit 772d3a71eb
4 changed files with 35 additions and 3 deletions

View File

@@ -71,6 +71,7 @@ static const ini_var_t ini_vars[] =
{ "SNIPER_MODE", (void*)(&(cfg.sniper_mode)), UINT8, 0, 1 },
{ "BROWSE_EXPAND", (void*)(&(cfg.browse_expand)), UINT8, 0, 1 },
{ "LOGO", (void*)(&(cfg.logo)), UINT8, 0, 1 },
{ "SHARED_FOLDER", (void*)(&(cfg.shared_folder)), STRING, 0, sizeof(cfg.shared_folder) - 1 },
};
static const int nvars = (int)(sizeof(ini_vars) / sizeof(ini_var_t));