1
0
mirror of synced 2024-11-15 07:17:35 +01:00

H2Overdrive control FIX v2

-final control fix, now view button in menu is not autofire
-to speed up the counter in menus, please use SERVICE key
This commit is contained in:
00C0FFEE 2020-02-19 07:52:47 +01:00
parent 8c90603caf
commit dbee4ee3e2

View File

@ -133,6 +133,10 @@ DWORD WINAPI InputRT10(LPVOID lpParam)
injector::WriteMemory<INT32>((ptr + 0x840), 1, true);
}
}
else if (button2pressed == true)
{
injector::WriteMemory<INT32>((0x398CBC + BaseAddress10), 0, true);
}
}
else
{
@ -171,6 +175,7 @@ DWORD WINAPI InputRT10(LPVOID lpParam)
{
if (button4pressed == false)
{
injector::WriteMemory<INT32>((0x398CB8 + BaseAddress10), 1, true); // MENU COUNTDOWN HACK
keybd_event(0x2D, MapVirtualKey(0x2D, MAPVK_VK_TO_VSC), 0, 0);
button4pressed = true;
}
@ -179,6 +184,7 @@ DWORD WINAPI InputRT10(LPVOID lpParam)
{
if (button4pressed == true)
{
injector::WriteMemory<INT32>((0x398CB8 + BaseAddress10), 0, true); // MENU COUNTDOWN HACK
keybd_event(0x2D, MapVirtualKey(0x2D, MAPVK_VK_TO_VSC), KEYEVENTF_KEYUP, 0);
button4pressed = false;
}