Skip to content

Commit

Permalink
Add sleep fixes for 1.14d.
Browse files Browse the repository at this point in the history
  • Loading branch information
bolrog committed May 19, 2021
1 parent acc682c commit 3cc36c8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/d2dx/GameHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,30 @@ bool GameHelper::TryApplyInGameSleepFixes()

break;
case GameVersion::Lod114d:
hModules[patchCount] = _hGameExe;
patchOffsets[patchCount] = 0x51C42;
expectedProbes[patchCount] = 0x15FF0A6A;
patchValues[patchCount] = 0x90909090;
++patchCount;

hModules[patchCount] = _hGameExe;
patchOffsets[patchCount] = 0x51C46;
expectedProbes[patchCount] = 0x006CC258;
patchValues[patchCount] = 0x90909090;
++patchCount;

hModules[patchCount] = _hGameExe;
patchOffsets[patchCount] = 0x4C711;
expectedProbes[patchCount] = 0xD7FF006A;
patchValues[patchCount] = 0x90909090;
++patchCount;

hModules[patchCount] = _hGameExe;
patchOffsets[patchCount] = 0x4C740;
expectedProbes[patchCount] = 0xD7FF006A;
patchValues[patchCount] = 0x90909090;
++patchCount;

break;
}

Expand Down

0 comments on commit 3cc36c8

Please sign in to comment.