1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-27 17:00:59 +01:00

Reset Explorer patch offsets when redownloading symbols

This commit is contained in:
Valentin Radu 2021-09-02 23:52:17 +03:00
parent 7da994f727
commit b52e7446cd

View File

@ -2584,6 +2584,31 @@ DWORD DownloadSymbols(TCHAR* wszSettingsPath)
#endif
);
VnWriteUInt(
TEXT(EXPLORER_SB_NAME),
TEXT(EXPLORER_PATCH_OFFSET_OK),
0,
wszSettingsPath
);
VnWriteUInt(
TEXT(EXPLORER_SB_NAME),
TEXT(EXPLORER_PATCH_DIRTY),
0,
wszSettingsPath
);
VnWriteUInt(
TEXT(EXPLORER_SB_NAME),
TEXT(EXPLORER_PATCH_OFFSET_STRAT),
0,
wszSettingsPath
);
VnWriteUInt(
TEXT(EXPLORER_SB_NAME),
TEXT(EXPLORER_PATCH_OFFSET),
0,
wszSettingsPath
);
Sleep(4000);
TCHAR wszExplorerPath[MAX_PATH + 1];