Files
UnrealEngineUWP/Engine/Source/Programs/UnrealPak/Private/UnrealPak.cpp
SuperLanceur 869067cfa7 #jira UE-106397
#rb trivial

PR #7676: Misplaced parenthesis (Contributed by SuperLanceur)

[CL 15134734 by SuperLanceur in ue5-main branch]
2021-01-19 05:59:56 -04:00

32 lines
734 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "UnrealPak.h"
#include "RequiredProgramMainCPPInclude.h"
#include "PakFileUtilities.h"
#include "IPlatformFilePak.h"
IMPLEMENT_APPLICATION(UnrealPak, "UnrealPak");
INT32_MAIN_INT32_ARGC_TCHAR_ARGV()
{
FTaskTagScope Scope(ETaskTag::EGameThread);
// start up the main loop
GEngineLoop.PreInit(ArgC, ArgV);
double StartTime = FPlatformTime::Seconds();
int32 Result = ExecuteUnrealPak(FCommandLine::Get())? 0 : 1;
UE_LOG(LogPakFile, Display, TEXT("Unreal pak executed in %f seconds"), FPlatformTime::Seconds() - StartTime);
GLog->Flush();
FEngineLoop::AppPreExit();
FModuleManager::Get().UnloadModulesAtShutdown();
FEngineLoop::AppExit();
return Result;
}