Minor config tweaks

This commit is contained in:
Mathew 2016-03-18 00:25:30 -04:00
parent ea80ecd155
commit d0cb19e9d2
3 changed files with 0 additions and 12 deletions

View file

@ -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)

View file

@ -53,7 +53,6 @@ struct Config
bool pathCache;
std::string iconPath;
std::string execName;
struct
{

View file

@ -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)