diff --git a/src/config.cpp b/src/config.cpp index 93390d0..725eeed 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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) diff --git a/src/config.h b/src/config.h index 72dda46..5499ded 100644 --- a/src/config.h +++ b/src/config.h @@ -53,7 +53,6 @@ struct Config bool pathCache; std::string iconPath; - std::string execName; struct { diff --git a/src/sharedstate.cpp b/src/sharedstate.cpp index ddee1f7..f46cffb 100644 --- a/src/sharedstate.cpp +++ b/src/sharedstate.cpp @@ -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)