H2Overdrive - stop game modifying ip address even if network enabled is unticked now too
This commit is contained in:
parent
ca041f1c14
commit
4e5db277b3
@ -404,8 +404,6 @@ static InitFunction H2OverdriveFunc([]()
|
||||
if (ToBool(config["Network"]["Enable"]))
|
||||
{
|
||||
injector::MakeNOP(0xF78AE + BaseAddress10, 6); // Stop game writing to cabinet id values
|
||||
injector::MakeNOP(0x1457F3 + BaseAddress10, 5); // Stop game adding certain ips if user has specific adapter
|
||||
injector::MakeNOP(0x1457FB + BaseAddress10, 5); // Stop game adding certain ips if user has specific adapter
|
||||
|
||||
int PC1 = FetchDwordInformation("Network", "Cabinet 1 IP X.X.X.???", 256);
|
||||
int PC2 = FetchDwordInformation("Network", "Cabinet 2 IP X.X.X.???", 256);
|
||||
@ -430,6 +428,9 @@ static InitFunction H2OverdriveFunc([]()
|
||||
if (PC8 > 0 && PC8 < 256) injector::WriteMemory<BYTE>((0x329728 + BaseAddress10) + PC8, 0x08, true);
|
||||
}
|
||||
|
||||
injector::MakeNOP(0x1457F3 + BaseAddress10, 5); // Stop game adding certain ips if user has specific adapter
|
||||
injector::MakeNOP(0x1457FB + BaseAddress10, 5); // Stop game adding certain ips if user has specific adapter
|
||||
|
||||
CreateThread(NULL, 0, InputRT10, NULL, 0, NULL);
|
||||
|
||||
}, GameID::H2Overdrive);
|
||||
|
Loading…
x
Reference in New Issue
Block a user