aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorp0358 <p0358@users.noreply.github.com>2021-12-29 06:38:54 +0100
committerp0358 <p0358@users.noreply.github.com>2021-12-29 06:38:54 +0100
commit213bf6412410a09b0bdce62b8598bfa23ba096cf (patch)
tree68c650c35639a71e834d4e3fc964ee5bf65a9d28 /NorthstarDedicatedTest/dllmain.cpp
parent8a1a2e97624d15617197248a5e292c5ead5e74a2 (diff)
downloadNorthstarLauncher-213bf6412410a09b0bdce62b8598bfa23ba096cf.tar.gz
NorthstarLauncher-213bf6412410a09b0bdce62b8598bfa23ba096cf.zip
Add direct launcher
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index 80fc3ca4..1aa4bd3b 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -66,12 +66,12 @@ void WaitForDebugger(HMODULE baseAddress)
}
// in the future this will be called from launcher instead of dllmain
-void InitialiseNorthstar()
+bool InitialiseNorthstar()
{
if (initialised)
{
fprintf(stderr, "[WARN] Called InitialiseNorthstar more than once!\n");
- return;
+ return false;
}
initialised = true;
@@ -129,4 +129,6 @@ void InitialiseNorthstar()
// mod manager after everything else
AddDllLoadCallback("engine.dll", InitialiseModManager);
+
+ return true;
} \ No newline at end of file