From 77a0e41b0d5b60adb2623591d30af117651f8c88 Mon Sep 17 00:00:00 2001 From: InvoxiPlayGames Date: Mon, 6 Jul 2026 21:06:46 +0100 Subject: [PATCH] iidx: fix 20 detection --- iidx@asphyxia/util.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/iidx@asphyxia/util.ts b/iidx@asphyxia/util.ts index 3e1898b..c292444 100644 --- a/iidx@asphyxia/util.ts +++ b/iidx@asphyxia/util.ts @@ -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; }