Since somewhere from 0ada9e8, to work-around compile without these lines:
|
if (MH_CreateHookEx((LPVOID)SaveDrawScreenToPNG, &OnSaveDrawScreenToPNG, &SaveDrawScreenToPNG) != MH_OK) |
|
{ |
|
std::cout << "Couldn't hook SaveDrawScreenToPNG" << std::endl; |
|
} |
|
|
|
if (MH_CreateHookEx((LPVOID)AddDrawingBuffer_PlayArea, &OnAddDrawingBuffer_PlayArea, &AddDrawingBuffer_PlayArea) != MH_OK) |
|
{ |
|
std::cout << "Couldn't hook AddDrawingBuffer_PlayArea" << std::endl; |
|
} |
|
|
|
if (MH_CreateHookEx((LPVOID)AddDrawingBuffer_LN, &OnAddDrawingBuffer_LN, &AddDrawingBuffer_LN) != MH_OK) |
|
{ |
|
std::cout << "Couldn't hook AddDrawingBuffer_LN" << std::endl; |
|
} |
|
|
|
if (MH_CreateHookEx((LPVOID)SetObjectString, &OnSetObjectString, &SetObjectString) != MH_OK) |
|
{ |
|
std::cout << "Couldn't hook SetObjectString" << std::endl; |
|
} |
There were seemingly no related changes. Reverting the minhook update,
MatVeiQaaa/minhook@5cc4d8b, doesn't help.
Unrelated: OnAddDrawingBuffer_PlayArea doesn't do anything besides calling the original function.
Since somewhere from 0ada9e8, to work-around compile without these lines:
LR2HackBox/src/LR2HackBox/Features/Misc.cpp
Lines 1192 to 1210 in 5d61376
There were seemingly no related changes. Reverting the minhook update, MatVeiQaaa/minhook@5cc4d8b, doesn't help.
Unrelated: OnAddDrawingBuffer_PlayArea doesn't do anything besides calling the original function.