mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 17:04:12 +08:00
engine bugfixes
This commit is contained in:
parent
34acf4f300
commit
44a0367883
@ -21,6 +21,7 @@
|
||||
#include "disasm/disasm.h"
|
||||
#include "cpputil/cppcstring.h"
|
||||
#include "mono/monoobject.h"
|
||||
#include "growl.h"
|
||||
//#include <boost/foreach.hpp>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
@ -86,8 +86,9 @@ BOOL WINAPI DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID unused)
|
||||
{
|
||||
VirtualQuery((void*)::processStopAddress, &info, sizeof(info));
|
||||
::processStopAddress = (DWORD)info.BaseAddress + info.RegionSize;
|
||||
} while (info.Protect);
|
||||
} while (info.Protect > PAGE_NOACCESS);
|
||||
#endif
|
||||
processStopAddress -= info.RegionSize;
|
||||
|
||||
{
|
||||
wchar_t hm_mutex[0x100];
|
||||
|
Loading…
x
Reference in New Issue
Block a user