Improve invalid checksum error message
This commit is contained in:
parent
1cc16ecbd9
commit
15c403b0d1
@ -9,6 +9,8 @@ const char *HSR_ASSEMBLY_PATH = "GameAssembly.dll";
|
|||||||
const char *HSR_TXS_SECTION_NAME = ".ace";
|
const char *HSR_TXS_SECTION_NAME = ".ace";
|
||||||
const char *HSR_TVM_SECTION_NAME = ".tvm0";
|
const char *HSR_TVM_SECTION_NAME = ".tvm0";
|
||||||
|
|
||||||
|
#define HSR_VERSION "1.3.0"
|
||||||
|
|
||||||
enum hsr_region {
|
enum hsr_region {
|
||||||
HSR_INVALID,
|
HSR_INVALID,
|
||||||
HSR_OS,
|
HSR_OS,
|
||||||
@ -86,7 +88,7 @@ void hsr_fill_data(struct game_data *buf) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (id == HSR_INVALID) {
|
if (id == HSR_INVALID) {
|
||||||
msg_err_a("Invalid UnityPlayer.dll checksum: 0x%08x. This usually happens when the patch is outdated", crc);
|
msg_err_a("Invalid UnityPlayer.dll checksum: 0x%08x. This patch is intended to be used with HSR v" HSR_VERSION, crc);
|
||||||
}
|
}
|
||||||
|
|
||||||
buf->base_module_name = HSR_BASE_MODULE_NAME;
|
buf->base_module_name = HSR_BASE_MODULE_NAME;
|
||||||
|
Loading…
Reference in New Issue
Block a user