update systemc hook

This commit is contained in:
Akash Mozumdar 2018-12-23 09:39:46 -05:00
parent 1817a3ac53
commit b191e511eb

View File

@ -21,6 +21,7 @@
#include "mono/monoobject.h" #include "mono/monoobject.h"
#include "growl.h" #include "growl.h"
#include "const.h" #include "const.h"
#include "native/pchooks.h"
//#include <boost/foreach.hpp> //#include <boost/foreach.hpp>
#include <cstdio> #include <cstdio>
#include <string> #include <string>
@ -8004,6 +8005,7 @@ bool InsertCandyHook2()
// jichi 10/2/2013: Add new candy hook // jichi 10/2/2013: Add new candy hook
bool InsertCandyHook() bool InsertCandyHook()
{ {
PcHooks::hookOtherPcFunctions();
//if (0 == _wcsicmp(processName, L"systemc.exe")) //if (0 == _wcsicmp(processName, L"systemc.exe"))
if (Util::CheckFile(L"SystemC.exe")) if (Util::CheckFile(L"SystemC.exe"))
return InsertCandyHook1(); return InsertCandyHook1();