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 "disasm/disasm.h"
|
||||||
#include "cpputil/cppcstring.h"
|
#include "cpputil/cppcstring.h"
|
||||||
#include "mono/monoobject.h"
|
#include "mono/monoobject.h"
|
||||||
|
#include "growl.h"
|
||||||
//#include <boost/foreach.hpp>
|
//#include <boost/foreach.hpp>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -86,8 +86,9 @@ BOOL WINAPI DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID unused)
|
|||||||
{
|
{
|
||||||
VirtualQuery((void*)::processStopAddress, &info, sizeof(info));
|
VirtualQuery((void*)::processStopAddress, &info, sizeof(info));
|
||||||
::processStopAddress = (DWORD)info.BaseAddress + info.RegionSize;
|
::processStopAddress = (DWORD)info.BaseAddress + info.RegionSize;
|
||||||
} while (info.Protect);
|
} while (info.Protect > PAGE_NOACCESS);
|
||||||
#endif
|
#endif
|
||||||
|
processStopAddress -= info.RegionSize;
|
||||||
|
|
||||||
{
|
{
|
||||||
wchar_t hm_mutex[0x100];
|
wchar_t hm_mutex[0x100];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user