aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/rpakfilesystem.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-12 02:33:01 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-12 02:33:01 +0100
commit6768e46b200c63d758bd6e92bd500f3c754c3245 (patch)
tree47a0e90999cd8fc933301197f7104a94d567471c /NorthstarDedicatedTest/rpakfilesystem.cpp
parent8a33725513d7dae6a0be3b8366976e17661d2e2e (diff)
downloadNorthstarLauncher-6768e46b200c63d758bd6e92bd500f3c754c3245.tar.gz
NorthstarLauncher-6768e46b200c63d758bd6e92bd500f3c754c3245.zip
formatting changes
Diffstat (limited to 'NorthstarDedicatedTest/rpakfilesystem.cpp')
-rw-r--r--NorthstarDedicatedTest/rpakfilesystem.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/rpakfilesystem.cpp b/NorthstarDedicatedTest/rpakfilesystem.cpp
index 1e44ed50..45367766 100644
--- a/NorthstarDedicatedTest/rpakfilesystem.cpp
+++ b/NorthstarDedicatedTest/rpakfilesystem.cpp
@@ -5,9 +5,6 @@
#include "modmanager.h"
#include "dedicated.h"
-typedef void* (*LoadCommonPaksForMapType)(char* map);
-LoadCommonPaksForMapType LoadCommonPaksForMap;
-
typedef void* (*LoadPakSyncType)(const char* path, void* unknownSingleton, int flags);
typedef int (*LoadPakAsyncType)(const char* path, void* unknownSingleton, int flags, void* callback0, void* callback1);
typedef void* (*UnloadPakType)(int pakHandle, void* callback);
@@ -33,6 +30,7 @@ void PakLoadManager::LoadPakSync(const char* path)
{
g_pakLoadApi->LoadPakSync(path, *pUnknownPakLoadSingleton, 0);
}
+
void PakLoadManager::LoadPakAsync(const char* path, bool bMarkForUnload)
{
int handle = g_pakLoadApi->LoadPakAsync(path, *pUnknownPakLoadSingleton, 2, nullptr, nullptr);