Skip to content

Commit

Permalink
Add sleep fixes for 1.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
bolrog committed May 19, 2021
1 parent 3cc36c8 commit 7bba89c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/d2dx/GameHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,29 @@ bool GameHelper::TryApplyInGameSleepFixes()
case GameVersion::Lod110:
break;
case GameVersion::Lod112:
hModules[patchCount] = _hD2ClientDll;
patchOffsets[patchCount] = 0x6CFD4;
expectedProbes[patchCount] = 0x15FF0A6A;
patchValues[patchCount] = 0x90909090;
++patchCount;

hModules[patchCount] = _hD2ClientDll;
patchOffsets[patchCount] = 0x6CFD8;
expectedProbes[patchCount] = 0x6FB7EF7C;
patchValues[patchCount] = 0x90909090;
++patchCount;

hModules[patchCount] = _hD2ClientDll;
patchOffsets[patchCount] = 0x7BD18;
expectedProbes[patchCount] = 0xD3FF006A;
patchValues[patchCount] = 0x90909090;
++patchCount;

hModules[patchCount] = _hD2ClientDll;
patchOffsets[patchCount] = 0x7BD3D;
expectedProbes[patchCount] = 0xD3FF006A;
patchValues[patchCount] = 0x90909090;
++patchCount;
break;
case GameVersion::Lod113c:
hModules[patchCount] = _hD2ClientDll;
Expand Down

0 comments on commit 7bba89c

Please sign in to comment.