Improved Launcher startup

This commit is contained in:
Anonymous275
2020-11-05 22:44:43 +02:00
parent ad91c65b55
commit 82870a23ac
31 changed files with 37 additions and 7844 deletions

View File

@@ -41,7 +41,7 @@ void SteamExit(int code){
exit(4);
}
std::string GetGameDir(){
if(TraceBack != 3)Exit(0);
if(TraceBack != 4)Exit(0);
return GameDir.substr(0,GameDir.find_last_of('\\'));
}
LONG OpenKey(HKEY root,const char* path,PHKEY hKey){