From 230dff0548ef43bdf5fb8894ecf2db3fb3844bcc Mon Sep 17 00:00:00 2001 From: dualshock-tools Date: Thu, 25 Apr 2024 16:25:45 +0200 Subject: [PATCH] Improve JDM-020 detection --- core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.js b/core.js index f8a8a73..daab4d4 100644 --- a/core.js +++ b/core.js @@ -63,7 +63,7 @@ function ds4_hw_to_bm(hw_ver) { return "JDM-030"; } else if(a == 0x64) { return "JDM-040"; - } else if(a == 0x83) { + } else if(a > 0x80 && a < 0x84) { return "JDM-020"; } else if(a == 0xa4) { return "JDM-050";