diff --git a/main.c b/main.c index aca2976..901cf05 100644 --- a/main.c +++ b/main.c @@ -989,443 +989,233 @@ void checkUnsupportedVersion() // ModelID whitelist IsKnownconsole = 1; sprintf(RealModelName, "???"); - if (ModelId == 0xd200) - sprintf(RealModelName, "DTL-H10000"); - else if (ModelId == 0xd201) - sprintf(RealModelName, "SCPH-10000"); - else if (ModelId == 0xd202) - sprintf(RealModelName, "SCPH-15000/18000"); - else if (ModelId == 0xd203) - sprintf(RealModelName, "SCPH-30001"); - else if (ModelId == 0xd204) - sprintf(RealModelName, "SCPH-30002/R"); - else if (ModelId == 0xd205) - sprintf(RealModelName, "SCPH-30003/R"); - else if (ModelId == 0xd206) - sprintf(RealModelName, "SCPH-30004/R"); - else if (ModelId == 0xd207) - sprintf(RealModelName, "DTL-H30001"); - else if (ModelId == 0xd208) - sprintf(RealModelName, "DTL-H30002"); - else if (ModelId == 0xd209) - sprintf(RealModelName, "COH-H30000"); - else if (ModelId == 0xd20a) - sprintf(RealModelName, "SCPH-18000"); - else if (ModelId == 0xd20b) - sprintf(RealModelName, "COH-H31000"); - else if (ModelId == 0xd20c) - sprintf(RealModelName, "SCPH-30000"); - else if (ModelId == 0xd20d) - sprintf(RealModelName, "DTL-H30000"); - else if (ModelId == 0xd20e) - sprintf(RealModelName, "COH-H31100"); - else if (ModelId == 0xd20f) - sprintf(RealModelName, "SCPH-35001 GT"); - else if (ModelId == 0xd210) - sprintf(RealModelName, "SCPH-35002 GT"); - else if (ModelId == 0xd211) - sprintf(RealModelName, "SCPH-35003 GT"); - else if (ModelId == 0xd212) - sprintf(RealModelName, "SCPH-35004 GT"); - else if (ModelId == 0xd213) - sprintf(RealModelName, "SCPH-35000 GT"); - else if (ModelId == 0xd214) - sprintf(RealModelName, "SCPH-30001/R"); - else if (ModelId == 0xd215) - sprintf(RealModelName, "SCPH-30005 R"); - else if (ModelId == 0xd216) - sprintf(RealModelName, "SCPH-30006 R"); - else if (ModelId == 0xd217) - sprintf(RealModelName, "SCPH-39000"); - else if (ModelId == 0xd218) - sprintf(RealModelName, "SCPH-39001"); - else if (ModelId == 0xd219) - sprintf(RealModelName, "SCPH-39002"); - else if (ModelId == 0xd21a) - sprintf(RealModelName, "SCPH-39003"); - else if (ModelId == 0xd21b) - sprintf(RealModelName, "SCPH-39004"); - /* else if (ModelId == 0xd21c) - sprintf(RealModelName, "SCPH-30007 R"); */ - else if (ModelId == 0xd21d) - sprintf(RealModelName, "SCPH-37000 L"); - else if (ModelId == 0xd21e) - sprintf(RealModelName, "SCPH-37000 B"); - else if (ModelId == 0xd21f) - sprintf(RealModelName, "SCPH-39008"); - else if (ModelId == 0xd220) - sprintf(RealModelName, "SCPH-39000 TB"); - else if (ModelId == 0xd221) - sprintf(RealModelName, "SCPH-39000 RC"); - else if (ModelId == 0xd222) - sprintf(RealModelName, "SCPH-39006"); - /* else if (ModelId == 0xd223) - sprintf(RealModelName, "SCPH-39005"); - else if (ModelId == 0xd224) - sprintf(RealModelName, "SCPH-39007"); */ - else if (ModelId == 0xd225) - sprintf(RealModelName, "DTL-H10100"); - else if (ModelId == 0xd226) - sprintf(RealModelName, "DTL-H30100"); - else if (ModelId == 0xd227) - sprintf(RealModelName, "DTL-H30101"); - else if (ModelId == 0xd228) - sprintf(RealModelName, "DTL-H30102"); - else if (ModelId == 0xd229) - sprintf(RealModelName, "DTL-H30105"); - else if (ModelId == 0xd22a) - sprintf(RealModelName, "SCPH-39000 S"); - else if (ModelId == 0xd22b) - sprintf(RealModelName, "SCPH-39000 AQ"); - else if (ModelId == 0xd22c) - sprintf(RealModelName, "SCPH-39000 SA"); - else if (ModelId == 0xd22d) - sprintf(RealModelName, "SCPH-39010/N"); + // clang-format off + if (ModelId == 0xd200) sprintf(RealModelName, "DTL-H10000"); + else if (ModelId == 0xd201) sprintf(RealModelName, "SCPH-10000"); + else if (ModelId == 0xd202) sprintf(RealModelName, "SCPH-15000/18000"); + else if (ModelId == 0xd203) sprintf(RealModelName, "SCPH-30001"); + else if (ModelId == 0xd204) sprintf(RealModelName, "SCPH-30002/R"); + else if (ModelId == 0xd205) sprintf(RealModelName, "SCPH-30003/R"); + else if (ModelId == 0xd206) sprintf(RealModelName, "SCPH-30004/R"); + else if (ModelId == 0xd207) sprintf(RealModelName, "DTL-H30001"); + else if (ModelId == 0xd208) sprintf(RealModelName, "DTL-H30002"); + else if (ModelId == 0xd209) sprintf(RealModelName, "COH-H30000"); + else if (ModelId == 0xd20a) sprintf(RealModelName, "SCPH-18000"); + else if (ModelId == 0xd20b) sprintf(RealModelName, "COH-H31000"); + else if (ModelId == 0xd20c) sprintf(RealModelName, "SCPH-30000"); + else if (ModelId == 0xd20d) sprintf(RealModelName, "DTL-H30000"); + else if (ModelId == 0xd20e) sprintf(RealModelName, "COH-H31100"); + else if (ModelId == 0xd20f) sprintf(RealModelName, "SCPH-35001 GT"); + else if (ModelId == 0xd210) sprintf(RealModelName, "SCPH-35002 GT"); + else if (ModelId == 0xd211) sprintf(RealModelName, "SCPH-35003 GT"); + else if (ModelId == 0xd212) sprintf(RealModelName, "SCPH-35004 GT"); + else if (ModelId == 0xd213) sprintf(RealModelName, "SCPH-35000 GT"); + else if (ModelId == 0xd214) sprintf(RealModelName, "SCPH-30001/R"); + else if (ModelId == 0xd215) sprintf(RealModelName, "SCPH-30005 R"); + else if (ModelId == 0xd216) sprintf(RealModelName, "SCPH-30006 R"); + else if (ModelId == 0xd217) sprintf(RealModelName, "SCPH-39000"); + else if (ModelId == 0xd218) sprintf(RealModelName, "SCPH-39001"); + else if (ModelId == 0xd219) sprintf(RealModelName, "SCPH-39002"); + else if (ModelId == 0xd21a) sprintf(RealModelName, "SCPH-39003"); + else if (ModelId == 0xd21b) sprintf(RealModelName, "SCPH-39004"); + /* else if (ModelId == 0xd21c) sprintf(RealModelName, "SCPH-30007 R"); */ + else if (ModelId == 0xd21d) sprintf(RealModelName, "SCPH-37000 L"); + else if (ModelId == 0xd21e) sprintf(RealModelName, "SCPH-37000 B"); + else if (ModelId == 0xd21f) sprintf(RealModelName, "SCPH-39008"); + else if (ModelId == 0xd220) sprintf(RealModelName, "SCPH-39000 TB"); + else if (ModelId == 0xd221) sprintf(RealModelName, "SCPH-39000 RC"); + else if (ModelId == 0xd222) sprintf(RealModelName, "SCPH-39006"); + /* else if (ModelId == 0xd223) sprintf(RealModelName, "SCPH-39005"); + else if (ModelId == 0xd224) sprintf(RealModelName, "SCPH-39007"); */ + else if (ModelId == 0xd225) sprintf(RealModelName, "DTL-H10100"); + else if (ModelId == 0xd226) sprintf(RealModelName, "DTL-H30100"); + else if (ModelId == 0xd227) sprintf(RealModelName, "DTL-H30101"); + else if (ModelId == 0xd228) sprintf(RealModelName, "DTL-H30102"); + else if (ModelId == 0xd229) sprintf(RealModelName, "DTL-H30105"); + else if (ModelId == 0xd22a) sprintf(RealModelName, "SCPH-39000 S"); + else if (ModelId == 0xd22b) sprintf(RealModelName, "SCPH-39000 AQ"); + else if (ModelId == 0xd22c) sprintf(RealModelName, "SCPH-39000 SA"); + else if (ModelId == 0xd22d) sprintf(RealModelName, "SCPH-39010/N"); // Deckard - else if (ModelId == 0xd301) - sprintf(RealModelName, "DTL-H50000"); - else if (ModelId == 0xd302) - sprintf(RealModelName, "DTL-H50001"); - else if (ModelId == 0xd303) - sprintf(RealModelName, "DTL-H50002"); - else if (ModelId == 0xd304) - sprintf(RealModelName, "DTL-H50009"); + else if (ModelId == 0xd301) sprintf(RealModelName, "DTL-H50000"); + else if (ModelId == 0xd302) sprintf(RealModelName, "DTL-H50001"); + else if (ModelId == 0xd303) sprintf(RealModelName, "DTL-H50002"); + else if (ModelId == 0xd304) sprintf(RealModelName, "DTL-H50009"); // d305 - d31d ?? - else if (ModelId == 0xd31e) - sprintf(RealModelName, "DTL-H70002"); - /* else if (ModelId == 0xd31f) - sprintf(RealModelName, "DTL-H70011S ???"); - else if (ModelId == 0xd320) - sprintf(RealModelName, "???"); - else if (ModelId == 0xd321) - sprintf(RealModelName, "???"); */ - else if (ModelId == 0xd322) - sprintf(RealModelName, "DTL-H75000A"); - /* else if (ModelId == 0xd323) - sprintf(RealModelName, "???"); - else if (ModelId == 0xd324) - sprintf(RealModelName, "???"); - else if (ModelId == 0xd325) - sprintf(RealModelName, "???"); */ - else if (ModelId == 0xd326) - sprintf(RealModelName, "DTL-H90000(a)"); + else if (ModelId == 0xd31e) sprintf(RealModelName, "DTL-H70002"); + /* else if (ModelId == 0xd31f) sprintf(RealModelName, "DTL-H70011S ???"); + else if (ModelId == 0xd320) sprintf(RealModelName, "???"); + else if (ModelId == 0xd321) sprintf(RealModelName, "???"); */ + else if (ModelId == 0xd322) sprintf(RealModelName, "DTL-H75000"); + /* else if (ModelId == 0xd323) sprintf(RealModelName, "DTL-H77000 ???"); + else if (ModelId == 0xd324) sprintf(RealModelName, "DTL-H79000 ???"); + else if (ModelId == 0xd325) sprintf(RealModelName, "DTL-H90000 R-chassis ???"); */ + else if (ModelId == 0xd326) sprintf(RealModelName, "DTL-H90000"); // P-chassis // d327-d37f // X-chassis - else if (ModelId == 0xd380) - sprintf(RealModelName, "DESR-7000"); - else if (ModelId == 0xd381) - sprintf(RealModelName, "DESR-5000"); - else if (ModelId == 0xd382) - sprintf(RealModelName, "DESR-7100"); - else if (ModelId == 0xd383) - sprintf(RealModelName, "DESR-5100"); - else if (ModelId == 0xd384) - sprintf(RealModelName, "DESR-5100/S"); - else if (ModelId == 0xd385) - sprintf(RealModelName, "DESR-7500"); - else if (ModelId == 0xd386) - sprintf(RealModelName, "DESR-5500"); - else if (ModelId == 0xd387) - sprintf(RealModelName, "DESR-7700"); - else if (ModelId == 0xd388) - sprintf(RealModelName, "DESR-5700"); + else if (ModelId == 0xd380) sprintf(RealModelName, "DESR-7000"); + else if (ModelId == 0xd381) sprintf(RealModelName, "DESR-5000"); + else if (ModelId == 0xd382) sprintf(RealModelName, "DESR-7100"); + else if (ModelId == 0xd383) sprintf(RealModelName, "DESR-5100"); + else if (ModelId == 0xd384) sprintf(RealModelName, "DESR-5100/S"); + else if (ModelId == 0xd385) sprintf(RealModelName, "DESR-7500"); + else if (ModelId == 0xd386) sprintf(RealModelName, "DESR-5500"); + else if (ModelId == 0xd387) sprintf(RealModelName, "DESR-7700"); + else if (ModelId == 0xd388) sprintf(RealModelName, "DESR-5700"); // d389 - d400 ?? // H, I, J -chassis - else if (ModelId == 0xd401) - sprintf(RealModelName, "SCPH-50001/N"); - else if (ModelId == 0xd402) - sprintf(RealModelName, "SCPH-50010/N"); - else if (ModelId == 0xd403) - sprintf(RealModelName, "SCPH-50000"); - else if (ModelId == 0xd404) - sprintf(RealModelName, "SCPH-50000 MB/NH"); - else if (ModelId == 0xd405) - sprintf(RealModelName, "SCPH-50002"); - else if (ModelId == 0xd406) - sprintf(RealModelName, "SCPH-50003"); - else if (ModelId == 0xd407) - sprintf(RealModelName, "SCPH-50004"); - else if (ModelId == 0xd408) - sprintf(RealModelName, "SCPH-50002 SS"); - else if (ModelId == 0xd409) - sprintf(RealModelName, "SCPH-50003 SS"); - else if (ModelId == 0xd40a) - sprintf(RealModelName, "SCPH-50004 SS"); - else if (ModelId == 0xd40b) - sprintf(RealModelName, "SCPH-50001"); - else if (ModelId == 0xd40c) - sprintf(RealModelName, "SCPH-50005/N"); - else if (ModelId == 0xd40d) - sprintf(RealModelName, "SCPH-50006"); - else if (ModelId == 0xd40e) - sprintf(RealModelName, "SCPH-50007"); - else if (ModelId == 0xd40f) - sprintf(RealModelName, "SCPH-50008"); - /* else if (ModelId == 0xd410) - sprintf(RealModelName, "???"); */ - else if (ModelId == 0xd411) - sprintf(RealModelName, "SCPH-50000 NB"); - else if (ModelId == 0xd412) - sprintf(RealModelName, "SCPH-50000 TSS"); - else if (ModelId == 0xd413) - sprintf(RealModelName, "SCPH-55000 GU"); - else if (ModelId == 0xd414) - sprintf(RealModelName, "SCPH-55000 GT"); - else if (ModelId == 0xd415) - sprintf(RealModelName, "SCPH-50009 SS"); - else if (ModelId == 0xd416) - sprintf(RealModelName, "SCPH-50003 AQ"); - /* else if (ModelId == 0xd417) - sprintf(RealModelName, "??? SCPH-55005 GT/N"); */ - else if (ModelId == 0xd418) - sprintf(RealModelName, "SCPH-55006 GT"); - /* else if (ModelId == 0xd419) - sprintf(RealModelName, "??? SCPH-55007 GT"); */ - else if (ModelId == 0xd41a) - sprintf(RealModelName, "SCPH-50008 SS"); - else if (ModelId == 0xd41b) - sprintf(RealModelName, "SCPH-50004 AQ"); - else if (ModelId == 0xd41c) - sprintf(RealModelName, "SCPH-50005 SS/N"); - else if (ModelId == 0xd41d) - sprintf(RealModelName, "SCPH-50005 AQ/N"); - else if (ModelId == 0xd41e) - sprintf(RealModelName, "SCPH-50000 CW"); - else if (ModelId == 0xd41f) - sprintf(RealModelName, "SCPH-50000 SA"); - else if (ModelId == 0xd420) - sprintf(RealModelName, "SCPH-50004 SS"); - /* else if (ModelId == 0xd421) - sprintf(RealModelName, "???"); */ - else if (ModelId == 0xd422) - sprintf(RealModelName, "SCPH-50002 SS"); - else if (ModelId == 0xd423) - sprintf(RealModelName, "SCPH-50003 SS"); - else if (ModelId == 0xd424) - sprintf(RealModelName, "SCPH-50000 PW"); - else if (ModelId == 0xd425) - sprintf(RealModelName, "SCPH-50011"); + else if (ModelId == 0xd401) sprintf(RealModelName, "SCPH-50001/N"); + else if (ModelId == 0xd402) sprintf(RealModelName, "SCPH-50010/N"); + else if (ModelId == 0xd403) sprintf(RealModelName, "SCPH-50000"); + else if (ModelId == 0xd404) sprintf(RealModelName, "SCPH-50000 MB/NH"); + else if (ModelId == 0xd405) sprintf(RealModelName, "SCPH-50002"); + else if (ModelId == 0xd406) sprintf(RealModelName, "SCPH-50003"); + else if (ModelId == 0xd407) sprintf(RealModelName, "SCPH-50004"); + else if (ModelId == 0xd408) sprintf(RealModelName, "SCPH-50002 SS"); + else if (ModelId == 0xd409) sprintf(RealModelName, "SCPH-50003 SS"); + else if (ModelId == 0xd40a) sprintf(RealModelName, "SCPH-50004 SS"); + else if (ModelId == 0xd40b) sprintf(RealModelName, "SCPH-50001"); + else if (ModelId == 0xd40c) sprintf(RealModelName, "SCPH-50005/N"); + else if (ModelId == 0xd40d) sprintf(RealModelName, "SCPH-50006"); + else if (ModelId == 0xd40e) sprintf(RealModelName, "SCPH-50007"); + else if (ModelId == 0xd40f) sprintf(RealModelName, "SCPH-50008"); + /* else if (ModelId == 0xd410) sprintf(RealModelName, "???"); */ + else if (ModelId == 0xd411) sprintf(RealModelName, "SCPH-50000 NB"); + else if (ModelId == 0xd412) sprintf(RealModelName, "SCPH-50000 TSS"); + else if (ModelId == 0xd413) sprintf(RealModelName, "SCPH-55000 GU"); + else if (ModelId == 0xd414) sprintf(RealModelName, "SCPH-55000 GT"); + else if (ModelId == 0xd415) sprintf(RealModelName, "SCPH-50009 SS"); + else if (ModelId == 0xd416) sprintf(RealModelName, "SCPH-50003 AQ"); + /* else if (ModelId == 0xd417) sprintf(RealModelName, "SCPH-55005 GT/N ???"); */ + else if (ModelId == 0xd418) sprintf(RealModelName, "SCPH-55006 GT"); + /* else if (ModelId == 0xd419) sprintf(RealModelName, "SCPH-55007 GT ???"); */ + else if (ModelId == 0xd41a) sprintf(RealModelName, "SCPH-50008 SS"); + else if (ModelId == 0xd41b) sprintf(RealModelName, "SCPH-50004 AQ"); + else if (ModelId == 0xd41c) sprintf(RealModelName, "SCPH-50005 SS/N"); + else if (ModelId == 0xd41d) sprintf(RealModelName, "SCPH-50005 AQ/N"); + else if (ModelId == 0xd41e) sprintf(RealModelName, "SCPH-50000 CW"); + else if (ModelId == 0xd41f) sprintf(RealModelName, "SCPH-50000 SA"); + else if (ModelId == 0xd420) sprintf(RealModelName, "SCPH-50004 SS"); + /* else if (ModelId == 0xd421) sprintf(RealModelName, "???"); */ + else if (ModelId == 0xd422) sprintf(RealModelName, "SCPH-50002 SS"); + else if (ModelId == 0xd423) sprintf(RealModelName, "SCPH-50003 SS"); + else if (ModelId == 0xd424) sprintf(RealModelName, "SCPH-50000 PW"); + else if (ModelId == 0xd425) sprintf(RealModelName, "SCPH-50011"); // K-chassis - else if (ModelId == 0xd426) - sprintf(RealModelName, "SCPH-70004"); - else if (ModelId == 0xd427) - sprintf(RealModelName, "SCPH-70003"); - else if (ModelId == 0xd428) - sprintf(RealModelName, "SCPH-70002"); - else if (ModelId == 0xd429) - sprintf(RealModelName, "SCPH-70011"); - else if (ModelId == 0xd42a) - sprintf(RealModelName, "SCPH-70012"); - else if (ModelId == 0xd42b) - sprintf(RealModelName, "SCPH-70000"); - else if (ModelId == 0xd42c) - sprintf(RealModelName, "SCPH-70005"); - else if (ModelId == 0xd42d) - sprintf(RealModelName, "SCPH-70006"); - else if (ModelId == 0xd42e) - sprintf(RealModelName, "SCPH-70007"); - else if (ModelId == 0xd42f) - sprintf(RealModelName, "SCPH-70000 GT"); - else if (ModelId == 0xd430) - sprintf(RealModelName, "SCPH-70008"); - else if (ModelId == 0xd431) - sprintf(RealModelName, "SCPH-70002 SS"); - else if (ModelId == 0xd432) - sprintf(RealModelName, "SCPH-70003 SS"); - else if (ModelId == 0xd433) - sprintf(RealModelName, "SCPH-70004 SS"); - else if (ModelId == 0xd434) - sprintf(RealModelName, "SCPH-70008 SS"); - else if (ModelId == 0xd435) - sprintf(RealModelName, "SCPH-70001"); - else if (ModelId == 0xd436) - sprintf(RealModelName, "SCPH-70010"); - else if (ModelId == 0xd437) - sprintf(RealModelName, "SCPH-70000 CW"); - else if (ModelId == 0xd438) - sprintf(RealModelName, "SCPH-70003 SS"); - /* else if (ModelId == 0xd439) - sprintf(RealModelName, "??? SCPH-70000 SS"); */ - else if (ModelId == 0xd43a) - sprintf(RealModelName, "SCPH-70008 SS"); + else if (ModelId == 0xd426) sprintf(RealModelName, "SCPH-70004"); + else if (ModelId == 0xd427) sprintf(RealModelName, "SCPH-70003"); + else if (ModelId == 0xd428) sprintf(RealModelName, "SCPH-70002"); + else if (ModelId == 0xd429) sprintf(RealModelName, "SCPH-70011"); + else if (ModelId == 0xd42a) sprintf(RealModelName, "SCPH-70012"); + else if (ModelId == 0xd42b) sprintf(RealModelName, "SCPH-70000"); + else if (ModelId == 0xd42c) sprintf(RealModelName, "SCPH-70005"); + else if (ModelId == 0xd42d) sprintf(RealModelName, "SCPH-70006"); + else if (ModelId == 0xd42e) sprintf(RealModelName, "SCPH-70007"); + else if (ModelId == 0xd42f) sprintf(RealModelName, "SCPH-70000 GT"); + else if (ModelId == 0xd430) sprintf(RealModelName, "SCPH-70008"); + else if (ModelId == 0xd431) sprintf(RealModelName, "SCPH-70002 SS"); + else if (ModelId == 0xd432) sprintf(RealModelName, "SCPH-70003 SS"); + else if (ModelId == 0xd433) sprintf(RealModelName, "SCPH-70004 SS"); + else if (ModelId == 0xd434) sprintf(RealModelName, "SCPH-70008 SS"); + else if (ModelId == 0xd435) sprintf(RealModelName, "SCPH-70001"); + else if (ModelId == 0xd436) sprintf(RealModelName, "SCPH-70010"); + else if (ModelId == 0xd437) sprintf(RealModelName, "SCPH-70000 CW"); + else if (ModelId == 0xd438) sprintf(RealModelName, "SCPH-70003 SS"); + /* else if (ModelId == 0xd439) sprintf(RealModelName, "SCPH-70000 SS ???"); */ + else if (ModelId == 0xd43a) sprintf(RealModelName, "SCPH-70008 SS"); // L-chassis - else if (ModelId == 0xd43b) - sprintf(RealModelName, "SCPH-75001"); - else if (ModelId == 0xd43c) - sprintf(RealModelName, "SCPH-75002"); - else if (ModelId == 0xd43d) - sprintf(RealModelName, "SCPH-75003"); - else if (ModelId == 0xd43e) - sprintf(RealModelName, "SCPH-75004"); - else if (ModelId == 0xd43f) - sprintf(RealModelName, "SCPH-75000 SSS"); - else if (ModelId == 0xd440) - sprintf(RealModelName, "SCPH-75002 SS"); - else if (ModelId == 0xd441) - sprintf(RealModelName, "SCPH-75003 SS"); - else if (ModelId == 0xd442) - sprintf(RealModelName, "SCPH-75004 SS"); - else if (ModelId == 0xd443) - sprintf(RealModelName, "SCPH-75000"); - else if (ModelId == 0xd444) - sprintf(RealModelName, "SCPH-75000 CW"); - else if (ModelId == 0xd445) - sprintf(RealModelName, "SCPH-75006"); - else if (ModelId == 0xd446) - sprintf(RealModelName, "SCPH-75007"); - else if (ModelId == 0xd447) - sprintf(RealModelName, "SCPH-75005"); - else if (ModelId == 0xd448) - sprintf(RealModelName, "SCPH-75010"); - else if (ModelId == 0xd449) - sprintf(RealModelName, "SCPH-75000 FF"); - /* else if (ModelId == 0xd44a) - sprintf(RealModelName, "???"); - else if (ModelId == 0xd44b) - sprintf(RealModelName, "???"); */ - else if (ModelId == 0xd44c) - sprintf(RealModelName, "SCPH-75008"); - else if (ModelId == 0xd44d) - sprintf(RealModelName, "SCPH-75008 SS"); + else if (ModelId == 0xd43b) sprintf(RealModelName, "SCPH-75001"); + else if (ModelId == 0xd43c) sprintf(RealModelName, "SCPH-75002"); + else if (ModelId == 0xd43d) sprintf(RealModelName, "SCPH-75003"); + else if (ModelId == 0xd43e) sprintf(RealModelName, "SCPH-75004"); + else if (ModelId == 0xd43f) sprintf(RealModelName, "SCPH-75000 SSS"); + else if (ModelId == 0xd440) sprintf(RealModelName, "SCPH-75002 SS"); + else if (ModelId == 0xd441) sprintf(RealModelName, "SCPH-75003 SS"); + else if (ModelId == 0xd442) sprintf(RealModelName, "SCPH-75004 SS"); + else if (ModelId == 0xd443) sprintf(RealModelName, "SCPH-75000"); + else if (ModelId == 0xd444) sprintf(RealModelName, "SCPH-75000 CW"); + else if (ModelId == 0xd445) sprintf(RealModelName, "SCPH-75006"); + else if (ModelId == 0xd446) sprintf(RealModelName, "SCPH-75007"); + else if (ModelId == 0xd447) sprintf(RealModelName, "SCPH-75005"); + else if (ModelId == 0xd448) sprintf(RealModelName, "SCPH-75010"); + else if (ModelId == 0xd449) sprintf(RealModelName, "SCPH-75000 FF"); + /* else if (ModelId == 0xd44a) sprintf(RealModelName, "???"); + else if (ModelId == 0xd44b) sprintf(RealModelName, "???"); */ + else if (ModelId == 0xd44c) sprintf(RealModelName, "SCPH-75008"); + else if (ModelId == 0xd44d) sprintf(RealModelName, "SCPH-75008 SS"); // M-chassis - else if (ModelId == 0xd44e) - sprintf(RealModelName, "SCPH-77001"); - else if (ModelId == 0xd44f) - sprintf(RealModelName, "SCPH-77002"); - else if (ModelId == 0xd450) - sprintf(RealModelName, "SCPH-77003"); - else if (ModelId == 0xd451) - sprintf(RealModelName, "SCPH-77004"); - else if (ModelId == 0xd452) - sprintf(RealModelName, "SCPH-77002 SS"); - else if (ModelId == 0xd453) - sprintf(RealModelName, "SCPH-77003 SS"); - else if (ModelId == 0xd454) - sprintf(RealModelName, "SCPH-77004 SS"); - else if (ModelId == 0xd455) - sprintf(RealModelName, "SCPH-77000"); - else if (ModelId == 0xd456) - sprintf(RealModelName, "SCPH-77000 CW"); - else if (ModelId == 0xd457) - sprintf(RealModelName, "SCPH-77005"); - else if (ModelId == 0xd458) - sprintf(RealModelName, "SCPH-77006"); - else if (ModelId == 0xd459) - sprintf(RealModelName, "SCPH-77007"); - else if (ModelId == 0xd45a) - sprintf(RealModelName, "SCPH-77008"); - /* else if (ModelId == 0xd45b) - sprintf(RealModelName, "??? SCPH-77010"); - else if (ModelId == 0xd45c) - sprintf(RealModelName, "??? SCPH-77008 SS"); */ - else if (ModelId == 0xd45d) - sprintf(RealModelName, "SCPH-77001 SS"); - else if (ModelId == 0xd45e) - sprintf(RealModelName, "SCPH-77003 PK"); - else if (ModelId == 0xd45f) - sprintf(RealModelName, "SCPH-77004 PK"); - /* else if (ModelId == 0xd460) - sprintf(RealModelName, "??? SCPH-77008 PK"); */ - else if (ModelId == 0xd461) - sprintf(RealModelName, "SCPH-77000 SS"); - else if (ModelId == 0xd462) - sprintf(RealModelName, "SCPH-77000 PK"); - /* else if (ModelId == 0xd463) - sprintf(RealModelName, "???"); */ - else if (ModelId == 0xd464) - sprintf(RealModelName, "SCPH-77002 PK"); + else if (ModelId == 0xd44e) sprintf(RealModelName, "SCPH-77001"); + else if (ModelId == 0xd44f) sprintf(RealModelName, "SCPH-77002"); + else if (ModelId == 0xd450) sprintf(RealModelName, "SCPH-77003"); + else if (ModelId == 0xd451) sprintf(RealModelName, "SCPH-77004"); + else if (ModelId == 0xd452) sprintf(RealModelName, "SCPH-77002 SS"); + else if (ModelId == 0xd453) sprintf(RealModelName, "SCPH-77003 SS"); + else if (ModelId == 0xd454) sprintf(RealModelName, "SCPH-77004 SS"); + else if (ModelId == 0xd455) sprintf(RealModelName, "SCPH-77000"); + else if (ModelId == 0xd456) sprintf(RealModelName, "SCPH-77000 CW"); + else if (ModelId == 0xd457) sprintf(RealModelName, "SCPH-77005"); + else if (ModelId == 0xd458) sprintf(RealModelName, "SCPH-77006"); + else if (ModelId == 0xd459) sprintf(RealModelName, "SCPH-77007"); + else if (ModelId == 0xd45a) sprintf(RealModelName, "SCPH-77008"); + /* else if (ModelId == 0xd45b) sprintf(RealModelName, "SCPH-77010 ???"); + else if (ModelId == 0xd45c) sprintf(RealModelName, "SCPH-77008 SS ???"); */ + else if (ModelId == 0xd45d) sprintf(RealModelName, "SCPH-77001 SS"); + else if (ModelId == 0xd45e) sprintf(RealModelName, "SCPH-77003 PK"); + else if (ModelId == 0xd45f) sprintf(RealModelName, "SCPH-77004 PK"); + /* else if (ModelId == 0xd460) sprintf(RealModelName, "SCPH-77008 PK ???"); */ + else if (ModelId == 0xd461) sprintf(RealModelName, "SCPH-77000 SS"); + else if (ModelId == 0xd462) sprintf(RealModelName, "SCPH-77000 PK"); + /* else if (ModelId == 0xd463) sprintf(RealModelName, "???"); */ + else if (ModelId == 0xd464) sprintf(RealModelName, "SCPH-77002 PK"); // N-chassis - else if (ModelId == 0xd465) - sprintf(RealModelName, "SCPH-79001"); - /* else if (ModelId == 0xd466) - sprintf(RealModelName, "??? SCPH-79000"); */ - else if (ModelId == 0xd467) - sprintf(RealModelName, "SCPH-79000 CW"); - else if (ModelId == 0xd468) - sprintf(RealModelName, "SCPH-79002"); - else if (ModelId == 0xd469) - sprintf(RealModelName, "SCPH-79001 SS"); - /* else if (ModelId == 0xd46a) - sprintf(RealModelName, "??? SCPH-79005"); */ - else if (ModelId == 0xd46b) - sprintf(RealModelName, "SCPH-79006"); - /* else if (ModelId == 0xd46c) - sprintf(RealModelName, "??? SCPH-79007"); */ - else if (ModelId == 0xd46d) - sprintf(RealModelName, "SCPH-79000 SS"); - else if (ModelId == 0xd46e) - sprintf(RealModelName, "SCPH-79003"); - else if (ModelId == 0xd46f) - sprintf(RealModelName, "SCPH-79004"); - else if (ModelId == 0xd470) - sprintf(RealModelName, "SCPH-79010"); - else if (ModelId == 0xd471) - sprintf(RealModelName, "SCPH-79003 SS"); - /* else if (ModelId == 0xd472) - sprintf(RealModelName, "??? SCPH-79004 SS"); */ - else if (ModelId == 0xd473) - sprintf(RealModelName, "SCPH-79008"); - else if (ModelId == 0xd474) - sprintf(RealModelName, "SCPH-79001 CW"); + else if (ModelId == 0xd465) sprintf(RealModelName, "SCPH-79001"); + /* else if (ModelId == 0xd466) sprintf(RealModelName, "SCPH-79000 ???"); */ + else if (ModelId == 0xd467) sprintf(RealModelName, "SCPH-79000 CW"); + else if (ModelId == 0xd468) sprintf(RealModelName, "SCPH-79002"); + else if (ModelId == 0xd469) sprintf(RealModelName, "SCPH-79001 SS"); + /* else if (ModelId == 0xd46a) sprintf(RealModelName, "SCPH-79005 ???"); */ + else if (ModelId == 0xd46b) sprintf(RealModelName, "SCPH-79006"); + /* else if (ModelId == 0xd46c) sprintf(RealModelName, "SCPH-79007 ???"); */ + else if (ModelId == 0xd46d) sprintf(RealModelName, "SCPH-79000 SS"); + else if (ModelId == 0xd46e) sprintf(RealModelName, "SCPH-79003"); + else if (ModelId == 0xd46f) sprintf(RealModelName, "SCPH-79004"); + else if (ModelId == 0xd470) sprintf(RealModelName, "SCPH-79010"); + else if (ModelId == 0xd471) sprintf(RealModelName, "SCPH-79003 SS"); + /* else if (ModelId == 0xd472) sprintf(RealModelName, "SCPH-79004 SS ???"); */ + else if (ModelId == 0xd473) sprintf(RealModelName, "SCPH-79008"); + else if (ModelId == 0xd474) sprintf(RealModelName, "SCPH-79001 CW"); // P/R-chassis - else if (ModelId == 0xd475) - sprintf(RealModelName, "SCPH-90000"); - else if (ModelId == 0xd476) - sprintf(RealModelName, "SCPH-90000 CW"); - else if (ModelId == 0xd477) - sprintf(RealModelName, "SCPH-90000 SS"); - else if (ModelId == 0xd478) - sprintf(RealModelName, "SCPH-90006"); - else if (ModelId == 0xd479) - sprintf(RealModelName, "SCPH-90006 CW"); - else if (ModelId == 0xd47a) - sprintf(RealModelName, "SCPH-90006 SS"); // Needs confirmation - else if (ModelId == 0xd47b) - sprintf(RealModelName, "SCPH-90005"); - /* else if (ModelId == 0xd47c) - sprintf(RealModelName, "??? SCPH-90005 CW"); - else if (ModelId == 0xd47d) - sprintf(RealModelName, "??? SCPH-90005 SS"); */ - else if (ModelId == 0xd47e) - sprintf(RealModelName, "SCPH-90007"); - else if (ModelId == 0xd47f) - sprintf(RealModelName, "SCPH-90007 CW"); - /* else if (ModelId == 0xd480) - sprintf(RealModelName, "??? SCPH-90007 SS"); */ - else if (ModelId == 0xd481) - sprintf(RealModelName, "SCPH-90001"); - else if (ModelId == 0xd482) - sprintf(RealModelName, "SCPH-90001 SS"); - else if (ModelId == 0xd483) - sprintf(RealModelName, "SCPH-90004"); - else if (ModelId == 0xd484) - sprintf(RealModelName, "SCPH-90004 SS"); - else if (ModelId == 0xd485) - sprintf(RealModelName, "SCPH-90002"); - else if (ModelId == 0xd486) - sprintf(RealModelName, "SCPH-90003"); - /* else if (ModelId == 0xd487) - sprintf(RealModelName, "??? SCPH-90005 CR"); */ - else if (ModelId == 0xd488) - sprintf(RealModelName, "SCPH-90006 CR"); - else if (ModelId == 0xd489) - sprintf(RealModelName, "SCPH-90007 CR"); - else if (ModelId == 0xd48a) - sprintf(RealModelName, "SCPH-90010"); - else if (ModelId == 0xd48b) - sprintf(RealModelName, "SCPH-90000 CR"); - else if (ModelId == 0xd48c) - sprintf(RealModelName, "SCPH-90008"); - else if (ModelId == 0xd48d) - sprintf(RealModelName, "SCPH-90008 SS"); - /* else if (ModelId == 0xd48e) - sprintf(RealModelName, "??? SCPH-90008 CR"); */ - else if (ModelId == 0xd48f) - sprintf(RealModelName, "PX300-1"); - else if (ModelId == 0xd490) - sprintf(RealModelName, "PX300-2"); - else if (ModelId == 0xd491) - sprintf(RealModelName, "SCPH-90010 CR"); + else if (ModelId == 0xd475) sprintf(RealModelName, "SCPH-90000"); + else if (ModelId == 0xd476) sprintf(RealModelName, "SCPH-90000 CW"); + else if (ModelId == 0xd477) sprintf(RealModelName, "SCPH-90000 SS"); + else if (ModelId == 0xd478) sprintf(RealModelName, "SCPH-90006"); + else if (ModelId == 0xd479) sprintf(RealModelName, "SCPH-90006 CW"); + else if (ModelId == 0xd47a) sprintf(RealModelName, "SCPH-90006 SS"); // Needs confirmation + else if (ModelId == 0xd47b) sprintf(RealModelName, "SCPH-90005"); + /* else if (ModelId == 0xd47c) sprintf(RealModelName, "SCPH-90005 CW ???"); + else if (ModelId == 0xd47d) sprintf(RealModelName, "SCPH-90005 SS ???"); */ + else if (ModelId == 0xd47e) sprintf(RealModelName, "SCPH-90007"); + else if (ModelId == 0xd47f) sprintf(RealModelName, "SCPH-90007 CW"); + /* else if (ModelId == 0xd480) sprintf(RealModelName, "SCPH-90007 SS ???"); */ + else if (ModelId == 0xd481) sprintf(RealModelName, "SCPH-90001"); + else if (ModelId == 0xd482) sprintf(RealModelName, "SCPH-90001 SS"); + else if (ModelId == 0xd483) sprintf(RealModelName, "SCPH-90004"); + else if (ModelId == 0xd484) sprintf(RealModelName, "SCPH-90004 SS"); + else if (ModelId == 0xd485) sprintf(RealModelName, "SCPH-90002"); + else if (ModelId == 0xd486) sprintf(RealModelName, "SCPH-90003"); + /* else if (ModelId == 0xd487) sprintf(RealModelName, "SCPH-90005 CR ???"); */ + else if (ModelId == 0xd488) sprintf(RealModelName, "SCPH-90006 CR"); + else if (ModelId == 0xd489) sprintf(RealModelName, "SCPH-90007 CR"); + else if (ModelId == 0xd48a) sprintf(RealModelName, "SCPH-90010"); + else if (ModelId == 0xd48b) sprintf(RealModelName, "SCPH-90000 CR"); + else if (ModelId == 0xd48c) sprintf(RealModelName, "SCPH-90008"); + else if (ModelId == 0xd48d) sprintf(RealModelName, "SCPH-90008 SS"); + /* else if (ModelId == 0xd48e) sprintf(RealModelName, "SCPH-90008 CR ???"); */ + else if (ModelId == 0xd48f) sprintf(RealModelName, "PX300-1"); + else if (ModelId == 0xd490) sprintf(RealModelName, "PX300-2"); + else if (ModelId == 0xd491) sprintf(RealModelName, "SCPH-90010 CR"); + else + // clang-format on else { errorTextures = draw_text(8, 8 + big_size + big_size / 2 + 5 * (reg_size + 4), reg_size, 0xFFFFFF, "Model ID unknown, please report!\n");