Fix XGD3 SS validity check (#955)

This commit is contained in:
Deterous
2026-03-12 09:45:09 +09:00
committed by GitHub
parent 0cadd5bccd
commit ec0eb01bb0
2 changed files with 2 additions and 1 deletions

View File

@@ -67,6 +67,7 @@
- Cleanup of processing code
- Options helper cleanup
- Miscellaneous formatting cleanup
- Fix XGD3 SS validity check
### 3.6.0 (2025-11-28)

View File

@@ -1108,7 +1108,7 @@ namespace MPF.Processors
// Determine if XGD3 SS is invalid SSv1 (Original Kreon) or valid SSv2 (0800 / Custom Kreon)
if (xgdType == 3)
{
if (Array.FindIndex(ss, 32, 72, x => x != 0) >= 0)
if (Array.FindIndex(ss, 32, 72, x => x != 0) == -1)
return false;
}