Don't improperly resolve symlinks when booting games.

This commit is contained in:
Stephen McKinney 2020-02-15 08:33:14 -06:00 committed by Ivan
parent 00b74fb951
commit 2b853cc8bc
3 changed files with 5 additions and 5 deletions

View file

@ -306,7 +306,7 @@ int main(int argc, char** argv)
}
// Ugly workaround
QTimer::singleShot(2, [path = sstr(QFileInfo(args.at(0)).canonicalFilePath()), argv = std::move(argv)]() mutable
QTimer::singleShot(2, [path = sstr(QFileInfo(args.at(0)).absoluteFilePath()), argv = std::move(argv)]() mutable
{
Emu.argv = std::move(argv);
Emu.SetForceBoot(true);