Gameconfig: Add game configs parser

This commit is contained in:
Arkshine
2015-06-23 19:39:01 +02:00
parent f46fc6c4e8
commit 4b2ba10300
9 changed files with 1266 additions and 4 deletions

View File

@ -28,7 +28,7 @@
*/
#include "MemoryUtils.h"
#include "amxxmodule.h"
#include <stdio.h> // sscanf
#if defined(__linux__)
#include <fcntl.h>
@ -159,6 +159,13 @@ void *MemoryUtils::ResolveSymbol(void *handle, const char *symbol)
#elif defined(__linux__)
void *addr = dlsym(handle, symbol);
if (addr)
{
return addr;
}
struct link_map *dlmap;
struct stat dlstat;
int dlfile;