core/MemoryUtils.cpp
changeset 702 ff520b71249c
parent 701 85c77b23ae47
child 1231 17badaf66ce4
     1.1 --- a/core/MemoryUtils.cpp	Fri Apr 20 18:50:52 2007 +0000
     1.2 +++ b/core/MemoryUtils.cpp	Sat Apr 21 17:03:28 2007 +0000
     1.3 @@ -13,7 +13,7 @@
     1.4   */
     1.5  
     1.6  #include "MemoryUtils.h"
     1.7 -#include "sm_platform.h"
     1.8 +#include "ShareSys.h"
     1.9  #ifdef PLATFORM_LINUX
    1.10  #include <string.h>
    1.11  #include <elf.h>
    1.12 @@ -39,6 +39,11 @@
    1.13  }
    1.14  #endif
    1.15  
    1.16 +void MemoryUtils::OnSourceModAllInitialized()
    1.17 +{
    1.18 +	g_ShareSys.AddInterface(NULL, this);
    1.19 +}
    1.20 +
    1.21  void *MemoryUtils::FindPattern(const void *libPtr, const char *pattern, size_t len)
    1.22  {
    1.23  	DynLibInfo lib;