Improve invalid checksum error message

This commit is contained in:
mkrsym1 2023-08-30 01:05:53 +03:00
parent 1cc16ecbd9
commit 15c403b0d1

View File

@ -9,6 +9,8 @@ const char *HSR_ASSEMBLY_PATH = "GameAssembly.dll";
const char *HSR_TXS_SECTION_NAME = ".ace";
const char *HSR_TVM_SECTION_NAME = ".tvm0";
#define HSR_VERSION "1.3.0"
enum hsr_region {
HSR_INVALID,
HSR_OS,
@ -86,7 +88,7 @@ void hsr_fill_data(struct game_data *buf) {
}
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;