mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2025-12-15 11:41:35 -06:00
Stats display refactor using ini file done.
This commit is contained in:
@@ -62,7 +62,7 @@ namespace hooking {
|
||||
template<size_t TOrdinal, typename TOrig>
|
||||
mh_status_t hook(void* base, void* detour, TOrig** original) {
|
||||
auto fn = GetProcAddress(reinterpret_cast<HMODULE>(base),
|
||||
reinterpret_cast<LPCSTR>(TOrdinal));
|
||||
reinterpret_cast<LPCSTR>(TOrdinal));
|
||||
|
||||
return hook(fn, detour, original);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user