Update checksums for SR 1.2.0

This commit is contained in:
mkrsym1 2023-07-17 14:39:12 +03:00
parent 43e8adaf12
commit 64a25b1607

View File

@ -17,14 +17,14 @@ struct crc_id_pair {
const struct crc_id_pair HSR_REGIONS[] = { const struct crc_id_pair HSR_REGIONS[] = {
// It may be possible to get rid of region-specific data altogether in the future // It may be possible to get rid of region-specific data altogether in the future
{ 0x2df53005, GAME_HSR_OS }, // os v1.1.0 { 0x9eb3084e, GAME_HSR_OS }, // os v1.2.0
{ 0x3e644d26, GAME_HSR_CN } // cn v1.1.0 { 0x14be07e9, GAME_HSR_CN } // cn v1.2.0
}; };
#define JUMP_SIZE (6 + sizeof(void*)) #define JUMP_SIZE (6 + sizeof(void*))
// Temporarily hardcoded offset // Temporarily hardcoded offset
// v1.1.0, same for os and cn // v1.2.0, same for os and cn
#define WTSUD_PATCH_OFFSET 0x16430 #define WTSUD_PATCH_OFFSET 0x16430
char wtsud_original_bytes[JUMP_SIZE]; char wtsud_original_bytes[JUMP_SIZE];