Skip to content

Commit

Permalink
Allow game executables to be renamed.
Browse files Browse the repository at this point in the history
  • Loading branch information
SwimmingTiger committed Jun 29, 2019
1 parent 9c7a4e6 commit 145cd83
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dsn_plugin/dsn_plugin/VersionCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,13 @@ bool VersionCheck::IsCompatibleExeVersion() {
#endif
}
else {
Log::info("Unsupported process: " + procName);
return false;
Log::info("Unknown process name: " + procName);

#ifdef IS_VR
g_SkyrimType = VR;
#else
g_SkyrimType = SE;
#endif
}

const std::string & runtimeDir = GetRuntimeDirectory();
Expand Down

0 comments on commit 145cd83

Please sign in to comment.