mirror of https://github.com/AxioDL/metaforce.git
Workaround logvisor path issue
This commit is contained in:
parent
01e887e8a3
commit
2380361d16
|
@ -551,6 +551,9 @@ int main(int argc, char** argv) {
|
||||||
args.emplace_back(argv[i]);
|
args.emplace_back(argv[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: logvisor needs to copy this
|
||||||
|
std::string logFilePath;
|
||||||
|
|
||||||
bool restart = false;
|
bool restart = false;
|
||||||
do {
|
do {
|
||||||
metaforce::CVarManager cvarMgr{fileMgr};
|
metaforce::CVarManager cvarMgr{fileMgr};
|
||||||
|
@ -572,7 +575,6 @@ int main(int argc, char** argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string logFile = cvarCmns.getLogFile();
|
std::string logFile = cvarCmns.getLogFile();
|
||||||
std::string logFilePath;
|
|
||||||
if (!logFile.empty()) {
|
if (!logFile.empty()) {
|
||||||
std::time_t time = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
std::time_t time = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
||||||
char buf[100];
|
char buf[100];
|
||||||
|
|
Loading…
Reference in New Issue