Integrating latest 47acbe8

This commit is contained in:
alexpete
2021-03-25 13:57:57 -07:00
parent 448c549698
commit 75dc720198
10312 changed files with 2711566 additions and 671451 deletions
@@ -193,8 +193,10 @@ void WelcomeScreenDialog::SetRecentFileList(RecentFileList* pList)
const char* engineRoot;
EBUS_EVENT_RESULT(engineRoot, AzFramework::ApplicationRequests::Bus, GetEngineRoot);
AZStd::string gamePathString;
AZ::StringFunc::Path::Join(engineRoot, gEnv->pConsole->GetCVar("sys_game_folder")->GetString(), gamePathString);
QString gamePath = QString(engineRoot) + QDir::separator() + gEnv->pConsole->GetCVar("sys_game_folder")->GetString();
QString gamePath = QString(gamePathString.c_str());
Path::ConvertSlashToBackSlash(gamePath);
gamePath = Path::ToUnixPath(gamePath.toLower());
gamePath = Path::AddSlash(gamePath);