This commit is contained in:
Jan 2024-04-05 17:33:48 +00:00 committed by GitHub
commit 500246b78f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -258,6 +258,7 @@ bool ShouldLoadNorthstar(int argc, char* argv[])
if (!strcmp(argv[i], "-nonorthstardll"))
return false;
#if 0
auto runNorthstarFile = std::ifstream("run_northstar.txt");
if (runNorthstarFile)
{
@ -267,6 +268,8 @@ bool ShouldLoadNorthstar(int argc, char* argv[])
if (runNorthstarFileBuffer.str().starts_with("0"))
return false;
}
#endif
return true;
}

View File

@ -47,6 +47,7 @@ bool ShouldLoadNorthstar()
if (loadNorthstar)
return loadNorthstar;
#if 0
auto runNorthstarFile = std::ifstream("run_northstar.txt");
if (runNorthstarFile)
{
@ -56,6 +57,8 @@ bool ShouldLoadNorthstar()
if (!runNorthstarFileBuffer.str().starts_with("0"))
loadNorthstar = true;
}
#endif
return loadNorthstar;
}