Work
This commit is contained in:
parent
dfa2267d65
commit
6c28cd8a95
|
|
@ -27,7 +27,7 @@ void __fastcall StandardOut__print_hook(int _this, void*, int type, std::string*
|
||||||
StandardOut__print(_this, type, message);
|
StandardOut__print(_this, type, message);
|
||||||
|
|
||||||
#ifndef _DEBUG
|
#ifndef _DEBUG
|
||||||
// Message pointer is offset 4 bytes when the DLL is compiled as release
|
// Message pointer is offset 4 bytes when the DLL is compiled as release.
|
||||||
message = reinterpret_cast<std::string*>((int)message + 4);
|
message = reinterpret_cast<std::string*>((int)message + 4);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue