File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1105,7 +1105,7 @@ public static bool IsValidSS(byte[] ss)
11051105 return true ;
11061106
11071107 // Determine if XGD3 SS is invalid SSv1 (Original Kreon) or valid SSv2 (0800 / Custom Kreon)
1108- if ( xgdType ! = 3 )
1108+ if ( xgdType = = 3 )
11091109 {
11101110 bool bad_xgd3 = false ;
11111111#if NET20
@@ -1119,8 +1119,8 @@ public static bool IsValidSS(byte[] ss)
11191119 return false ;
11201120 }
11211121
1122- // Must have correct version and number of CCRT entries
1123- if ( ss [ 0x300 ] != 2 || ss [ 0x301 ] != 21 || ss [ 0x65F ] != 0x02 || ss [ 0x49E != 0x04 ] )
1122+ // XGD2 must have correct version (2) and number of CCRT entries (21)
1123+ if ( ss [ 0x300 ] != 2 || ss [ 0x301 ] != 21 || ss [ 0x65F ] != 2 )
11241124 return false ;
11251125
11261126 return true ;
You can’t perform that action at this time.
0 commit comments