Replace g_LibSys usage with AMTL primitives.

This commit is contained in:
David Anderson
2015-08-30 20:11:02 -07:00
parent ec01ca72a0
commit 207f643d3a
4 changed files with 32 additions and 106 deletions
+2 -1
View File
@@ -59,6 +59,7 @@
#include "convar_sm.h"
#endif
#include <amtl/os/am-shared-library.h>
#include <amtl/os/am-path.h>
#if defined _WIN32
#define MATCHMAKINGDS_SUFFIX ""
@@ -653,7 +654,7 @@ void InitLogicBridge()
char path[PLATFORM_MAX_PATH];
g_LibSys.PathFormat(path, sizeof(path), "%s/bin/matchmaking_ds%s.%s", g_SMAPI->GetBaseDir(), MATCHMAKINGDS_SUFFIX, MATCHMAKINGDS_EXT);
ke::path::Format(path, sizeof(path), "%s/bin/matchmaking_ds%s.%s", g_SMAPI->GetBaseDir(), MATCHMAKINGDS_SUFFIX, MATCHMAKINGDS_EXT);
if (ke::Ref<ke::SharedLib> mmlib = ke::SharedLib::Open(path, NULL, 0))
{