Skip to content

Commit 007b3ae

Browse files
authored
[ZH] Set correct fake CRC for Zero Hour CD 1.04 (#1051)
1 parent 4461232 commit 007b3ae

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Generals/Code/GameEngine/Source/Common/GlobalData.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -992,9 +992,9 @@ GlobalData::GlobalData()
992992
// Simulate the EXE's CRC value to force Network and Replay compatibility with another build.
993993
#if (defined(_MSC_VER) && _MSC_VER < 1300) && RETAIL_COMPATIBLE_CRC
994994

995-
#define GENERALS_108_CD_EXE_CRC 0x93d1eab4
996-
#define GENERALS_108_STEAM_EXE_CRC 0x8d6e4dd7
997-
#define GENERALS_108_EAAPP_EXE_CRC 0xb07fbd50
995+
#define GENERALS_108_CD_EXE_CRC 0x93d1eab4u
996+
#define GENERALS_108_STEAM_EXE_CRC 0x8d6e4dd7u
997+
#define GENERALS_108_EAAPP_EXE_CRC 0xb07fbd50u
998998

999999
exeCRC.set(GENERALS_108_CD_EXE_CRC);
10001000
DEBUG_LOG(("Fake EXE CRC is 0x%8.8X\n", exeCRC.get()));

GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,9 +1001,9 @@ GlobalData::GlobalData()
10011001
// Simulate the EXE's CRC value to force Network and Replay compatibility with another build.
10021002
#if (defined(_MSC_VER) && _MSC_VER < 1300) && RETAIL_COMPATIBLE_CRC
10031003

1004-
#define GENERALSMD_104_CD_EXE_CRC 0x4f6c5afe
1005-
#define GENERALSMD_104_STEAM_EXE_CRC 0xcb430f5f
1006-
#define GENERALSMD_104_EAAPP_EXE_CRC 0x488d90f9
1004+
#define GENERALSMD_104_CD_EXE_CRC 0x3b6fb2cfu
1005+
#define GENERALSMD_104_STEAM_EXE_CRC 0xf6a4221bu
1006+
#define GENERALSMD_104_EAAPP_EXE_CRC 0xc4181eb9u
10071007

10081008
exeCRC.set(GENERALSMD_104_CD_EXE_CRC);
10091009
DEBUG_LOG(("Fake EXE CRC is 0x%8.8X\n", exeCRC.get()));

0 commit comments

Comments
 (0)