mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Minor config tweaks
This commit is contained in:
parent
ea80ecd155
commit
d0cb19e9d2
3 changed files with 0 additions and 12 deletions
|
|
@ -73,7 +73,6 @@ void Config::read(int argc, char *argv[])
|
|||
PO_DESC(gameFolder, std::string, ".") \
|
||||
PO_DESC(allowSymlinks, bool, false) \
|
||||
PO_DESC(iconPath, std::string, "") \
|
||||
PO_DESC(execName, std::string, "Game") \
|
||||
PO_DESC(SE.sourceCount, int, 6) \
|
||||
PO_DESC(pathCache, bool, true)
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ struct Config
|
|||
bool pathCache;
|
||||
|
||||
std::string iconPath;
|
||||
std::string execName;
|
||||
|
||||
struct
|
||||
{
|
||||
|
|
|
|||
|
|
@ -122,16 +122,6 @@ struct SharedStatePrivate
|
|||
if (gl.ReleaseShaderCompiler)
|
||||
gl.ReleaseShaderCompiler();
|
||||
|
||||
std::string archPath = config.execName + gameArchExt();
|
||||
|
||||
/* Check if a game archive exists */
|
||||
FILE *tmp = fopen(archPath.c_str(), "rb");
|
||||
if (tmp)
|
||||
{
|
||||
fileSystem.addPath(archPath.c_str());
|
||||
fclose(tmp);
|
||||
}
|
||||
|
||||
fileSystem.addPath(".");
|
||||
|
||||
if (config.pathCache)
|
||||
|
|
|
|||
Loading…
Reference in a new issue