Skip to content

Commit 7bba89c

Browse files
committed
Add sleep fixes for 1.12.
1 parent 3cc36c8 commit 7bba89c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/d2dx/GameHelper.cpp

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,29 @@ bool GameHelper::TryApplyInGameSleepFixes()
615615
case GameVersion::Lod110:
616616
break;
617617
case GameVersion::Lod112:
618+
hModules[patchCount] = _hD2ClientDll;
619+
patchOffsets[patchCount] = 0x6CFD4;
620+
expectedProbes[patchCount] = 0x15FF0A6A;
621+
patchValues[patchCount] = 0x90909090;
622+
++patchCount;
623+
624+
hModules[patchCount] = _hD2ClientDll;
625+
patchOffsets[patchCount] = 0x6CFD8;
626+
expectedProbes[patchCount] = 0x6FB7EF7C;
627+
patchValues[patchCount] = 0x90909090;
628+
++patchCount;
629+
630+
hModules[patchCount] = _hD2ClientDll;
631+
patchOffsets[patchCount] = 0x7BD18;
632+
expectedProbes[patchCount] = 0xD3FF006A;
633+
patchValues[patchCount] = 0x90909090;
634+
++patchCount;
635+
636+
hModules[patchCount] = _hD2ClientDll;
637+
patchOffsets[patchCount] = 0x7BD3D;
638+
expectedProbes[patchCount] = 0xD3FF006A;
639+
patchValues[patchCount] = 0x90909090;
640+
++patchCount;
618641
break;
619642
case GameVersion::Lod113c:
620643
hModules[patchCount] = _hD2ClientDll;

0 commit comments

Comments
 (0)