From 20075c4552f70bc0b8aa296ca12efe531d263788 Mon Sep 17 00:00:00 2001 From: dualshock-tools Date: Tue, 14 May 2024 21:05:35 +0200 Subject: [PATCH] fix JDM-040 condition --- core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.js b/core.js index e0220d6..52b2d71 100644 --- a/core.js +++ b/core.js @@ -62,7 +62,7 @@ function ds4_hw_to_bm(hw_ver) { return "JDM-011"; } else if(a == 0x54) { return "JDM-030"; - } else if(a >= 0x64 || a <= 0x74) { + } else if(a >= 0x64 && a <= 0x74) { return "JDM-040"; } else if((a > 0x80 && a < 0x84) || a == 0x93) { return "JDM-020";