Skip to content

Commit 6b05013

Browse files
committed
Fix init style
1 parent 0997d12 commit 6b05013

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

FunctionLogger/FunctionLogger.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ SPI_IMPLEMENT_ATTACH
3838
{
3939
Common::OpenConsole();
4040

41-
auto _ = SDKInitializer::Instance();
41+
INIT_CHECK_SDK()
4242
writeln(L"Crash game as soon as possible in order to keep log size down");
4343

4444
INIT_FIND_PATTERN_POSTHOOK(ProcessEvent, /* 40 55 41 56 41 */ "57 48 81 EC 90 00 00 00 48 8D 6C 24 20");

LE1ASITemplate/LE1ASITemplate.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ SPI_IMPLEMENT_ATTACH
3232
{
3333
Common::OpenConsole();
3434

35-
auto _ = SDKInitializer::Instance();
35+
INIT_CHECK_SDK()
3636

3737
INIT_FIND_PATTERN_POSTHOOK(ProcessEvent, /* 40 55 41 56 41 */ "57 48 81 EC 90 00 00 00 48 8D 6C 24 20");
3838
if (auto rc = InterfacePtr->InstallHook(MYHOOK "ProcessEvent", ProcessEvent, ProcessEvent_hook, (void**)&ProcessEvent_orig);

LE1AppearanceTest/LE1AppearanceTest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ SPI_IMPLEMENT_ATTACH
7474
{
7575
Common::OpenConsole();
7676

77-
auto _ = SDKInitializer::Instance();
77+
INIT_CHECK_SDK()
7878

7979
INIT_FIND_PATTERN_POSTHOOK(ProcessEvent, /* 40 55 41 56 41 */ "57 48 81 EC 90 00 00 00 48 8D 6C 24 20");
8080
if (auto rc = InterfacePtr->InstallHook(MYHOOK "ProcessEvent", ProcessEvent, ProcessEvent_hook, (void**)&ProcessEvent_orig);

LE1LEXInterop/LE1LEXInterop.vcxproj

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
<ClInclude Include="..\..\Shared-ASI\LEXInterop\LELiveLevelEditor.h" />
9999
<ClInclude Include="..\..\Shared-ASI\LEXInterop\LEPathfindingGPS.h" />
100100
<ClInclude Include="..\..\Shared-ASI\LEXInterop\LEXCommunications.h" />
101+
<ClInclude Include="..\..\Shared-ASI\LEXInterop\LEXInterop.h" />
101102
<ClInclude Include="..\..\Shared-ASI\LEXInterop\LEXPipe.h" />
102103
<ClInclude Include="..\..\Shared-ASI\LEXInterop\LLEActions.h" />
103104
<ClInclude Include="..\..\Shared-ASI\LEXInterop\SharedData.h" />

MExperiments/MExperiments.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ SPI_IMPLEMENT_ATTACH
7272
{
7373
Common::OpenConsole();
7474

75-
auto _ = SDKInitializer::Instance();
75+
INIT_CHECK_SDK()
7676

7777
INIT_FIND_PATTERN_POSTHOOK(ProcessEvent, /* 40 55 41 56 41 */ "57 48 81 EC 90 00 00 00 48 8D 6C 24 20");
7878
if (auto rc = InterfacePtr->InstallHook(MYHOOK "ProcessEvent", ProcessEvent, ProcessEvent_hook, (void**)&ProcessEvent_orig);

UnrealscriptDebugger/UnrealscriptDebugger.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ SPI_IMPLEMENT_ATTACH
764764

765765
logger.Open(logPath);
766766

767-
auto _ = SDKInitializer::Instance();
767+
INIT_CHECK_SDK()
768768

769769
ProxyInterface = InterfacePtr;
770770

0 commit comments

Comments
 (0)