extend versionhelpers

This commit is contained in:
FunkyFr3sh 2024-05-06 01:23:59 +02:00
parent cc97cc0761
commit 6626480358
13 changed files with 140 additions and 53 deletions

View file

@ -9,6 +9,7 @@
#include "debug.h"
#include "config.h"
#include "hook.h"
#include "versionhelpers.h"
/* export for cncnet cnc games */
@ -28,6 +29,8 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
{
g_ddraw_module = hDll;
verhelp_init();
if (GetEnvironmentVariableW(L"cnc_ddraw_config_init", NULL, 0))
{
cfg_load();