Merge pull request #86 from InvoxiPlayGames/iidx20fix

iidx: fix 20 detection
This commit is contained in:
Freddie W 2026-07-07 04:12:39 +08:00 committed by GitHub
commit 57374563bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,8 +98,12 @@ export function GetVersion(info: EamuseInfo) {
case "JDZ": return 18;
case "KDZ": return 19;
case "LDJ":
version = Number(info.module.slice(4, 6));
if (_.isNaN(version)) version = 20;
if (info.module.startsWith("IIDX")) {
version = Number(info.module.slice(4, 6));
if (_.isNaN(version) || version < 20) version = 20;
} else {
version = 20;
}
break;
}