Implement multiregion support for 3rd

This commit is contained in:
mkrsym1 2023-08-02 23:32:12 +03:00
parent 5b1ac8533d
commit ce58ec89ef
4 changed files with 12 additions and 2 deletions

Binary file not shown.

View File

@ -6,6 +6,11 @@ enum game_id {
GAME_INVALID,
GAME_HI3_GLB,
GAME_HI3_SEA,
GAME_HI3_CN,
GAME_HI3_TW,
GAME_HI3_KR,
GAME_HI3_JP,
GAME_HSR_OS,
GAME_HSR_CN

View File

@ -15,3 +15,4 @@
### branch/native-tables
- Almost a full rewrite, functionality unchanged
- Added support for HI3 sea/cn/tw/jp/kr

View File

@ -14,10 +14,14 @@ struct crc_id_pair {
};
const struct crc_id_pair HI3_REGIONS[] = {
// Only glb for now
// It may be possible to get rid of region-specific data altogether in the future
{ 0x45221647, GAME_HI3_GLB } // glb v6.7.0
{ 0x45221647, GAME_HI3_GLB }, // glb v6.7.0
{ 0x32f97d39, GAME_HI3_SEA }, // sea v6.7.0
{ 0x2efd9099, GAME_HI3_CN }, // cn v6.8.0
{ 0x4a47e6c8, GAME_HI3_TW }, // tw v6.7.0
{ 0x03b67cb4, GAME_HI3_KR }, // kr v6.7.0
{ 0x449ff855, GAME_HI3_JP } // jp v6.7.0
};
void hi3_fill_data(struct game_data *buf) {