1
0
mirror of synced 2025-02-01 04:15:50 +01:00

H2Overdrive button fix

-improves view button in menus (still require  a long short-press ^^)
This commit is contained in:
00C0FFEE 2020-02-18 19:14:25 +01:00
parent ba81a206be
commit 8c90603caf

View File

@ -124,8 +124,8 @@ DWORD WINAPI InputRT10(LPVOID lpParam)
{
if (button2pressed == false)
{
injector::WriteMemory<INT32>((0x398CB8 + BaseAddress10), 1, true);
injector::WriteMemory<INT32>((0x398CBC + BaseAddress10), 0, true);
// injector::WriteMemory<INT32>((0x398CB8 + BaseAddress10), 0, true);
injector::WriteMemory<INT32>((0x398CBC + BaseAddress10), 1, true);
button2pressed = true;
if (0 != ptr)
@ -138,8 +138,8 @@ DWORD WINAPI InputRT10(LPVOID lpParam)
{
if (button2pressed == true)
{
injector::WriteMemory<INT32>((0x398CB8 + BaseAddress10), 0, true);
injector::WriteMemory<INT32>((0x398CBC + BaseAddress10), 1, true);
// injector::WriteMemory<INT32>((0x398CB8 + BaseAddress10), 1, true);
injector::WriteMemory<INT32>((0x398CBC + BaseAddress10), 0, true);
button2pressed = false;
if (0 != ptr)