Workaround logvisor path issue

This commit is contained in:
Luke Street 2022-06-13 01:46:01 -04:00
parent 01e887e8a3
commit 2380361d16
1 changed files with 3 additions and 1 deletions

View File

@ -551,6 +551,9 @@ int main(int argc, char** argv) {
args.emplace_back(argv[i]);
}
// FIXME: logvisor needs to copy this
std::string logFilePath;
bool restart = false;
do {
metaforce::CVarManager cvarMgr{fileMgr};
@ -572,7 +575,6 @@ int main(int argc, char** argv) {
}
std::string logFile = cvarCmns.getLogFile();
std::string logFilePath;
if (!logFile.empty()) {
std::time_t time = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
char buf[100];