1
0
mirror of synced 2025-01-19 17:28:46 +01:00

- H2Overdrive : Stop game adding certain ip address if user has specific adapter

This commit is contained in:
Aaron M 2021-05-08 06:26:13 +12:00
parent 9a19945379
commit 60196e3e00

View File

@ -292,6 +292,8 @@ 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);