You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Add some cpu scopes Add optional monolithic mode #rb jason.walter [CL 30155621 by jeremie roy in ue5-main branch]
25 lines
646 B
C++
25 lines
646 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "LiveLinkHubRun.h"
|
|
|
|
#include "LaunchEngineLoop.h"
|
|
|
|
DEFINE_LOG_CATEGORY_STATIC(LogLiveLinkHub, Log, All);
|
|
|
|
int32 RunLiveLinkHub(const TCHAR* CommandLine)
|
|
{
|
|
FTaskTagScope Scope(ETaskTag::EGameThread);
|
|
|
|
// Start up the main loop, adding some extra command line arguments:
|
|
const int32 Result = GEngineLoop.PreInit(*FString::Printf(TEXT("%s %s"), CommandLine, TEXT("LiveLinkHubCommandlet -Messaging -DDC=NoShared -NoShaderCompile")));
|
|
|
|
if (Result != 0)
|
|
{
|
|
UE_LOG(LogLiveLinkHub, Error, TEXT("EngineLoop PreInit failed!"));
|
|
return Result;
|
|
}
|
|
|
|
GEngineLoop.Exit();
|
|
|
|
return Result;
|
|
} |