@@ -345,22 +345,18 @@ public override void GenerateSubmissionInfo(SubmissionInfo info, MediaType? medi
345345 info . CommonDiscInfo . CommentsSpecialFields [ SiteCode . SSHash ] = xgd1SSHash ?? string . Empty ;
346346 }
347347
348- if ( GetXGDAuxInfo ( $ "{ basePath } _disc.txt", out _ , out _ , out _ , out var xgd1SS , out _ ) )
348+ if ( GetXGDAuxInfo ( $ "{ basePath } _disc.txt", out _ , out _ , out _ , out var xgd1SS ) )
349349 {
350- // SS Version from DIC is ignored now
351- //info.CommonDiscInfo.CommentsSpecialFields[SiteCode.SSVersion] = xgd1SSVer ?? string.Empty;
352350 info . Extras . SecuritySectorRanges = xgd1SS ?? string . Empty ;
353351 }
354352 }
355353 else
356354 {
357- if ( GetXGDAuxInfo ( $ "{ basePath } _disc.txt", out var xgd1DMIHash , out var xgd1PFIHash , out var xgd1SSHash , out var xgd1SS , out _ ) )
355+ if ( GetXGDAuxInfo ( $ "{ basePath } _disc.txt", out var xgd1DMIHash , out var xgd1PFIHash , out var xgd1SSHash , out var xgd1SS ) )
358356 {
359357 info . CommonDiscInfo . CommentsSpecialFields [ SiteCode . DMIHash ] = xgd1DMIHash ?? string . Empty ;
360358 info . CommonDiscInfo . CommentsSpecialFields [ SiteCode . PFIHash ] = xgd1PFIHash ?? string . Empty ;
361359 info . CommonDiscInfo . CommentsSpecialFields [ SiteCode . SSHash ] = xgd1SSHash ?? string . Empty ;
362- // SS Version from DIC is ignored now
363- //info.CommonDiscInfo.CommentsSpecialFields[SiteCode.SSVersion] = xgd1SSVer ?? string.Empty;
364360 info . Extras . SecuritySectorRanges = xgd1SS ?? string . Empty ;
365361 }
366362 }
@@ -391,22 +387,18 @@ public override void GenerateSubmissionInfo(SubmissionInfo info, MediaType? medi
391387 info . CommonDiscInfo . CommentsSpecialFields [ SiteCode . SSHash ] = xgd23SSHash ?? string . Empty ;
392388 }
393389
394- if ( GetXGDAuxInfo ( $ "{ basePath } _disc.txt", out _ , out _ , out _ , out var xgd23SS , out _ ) )
390+ if ( GetXGDAuxInfo ( $ "{ basePath } _disc.txt", out _ , out _ , out _ , out var xgd23SS ) )
395391 {
396- // SS Version from DIC is ignored now
397- //info.CommonDiscInfo.CommentsSpecialFields[SiteCode.SSVersion] = xgd23SSVer ?? string.Empty;
398392 info . Extras . SecuritySectorRanges = xgd23SS ?? string . Empty ;
399393 }
400394 }
401395 else
402396 {
403- if ( GetXGDAuxInfo ( $ "{ basePath } _disc.txt", out var xgd23DMIHash , out var xgd23PFIHash , out var xgd23SSHash , out var xgd23SS , out _ ) )
397+ if ( GetXGDAuxInfo ( $ "{ basePath } _disc.txt", out var xgd23DMIHash , out var xgd23PFIHash , out var xgd23SSHash , out var xgd23SS ) )
404398 {
405399 info . CommonDiscInfo . CommentsSpecialFields [ SiteCode . DMIHash ] = xgd23DMIHash ?? string . Empty ;
406400 info . CommonDiscInfo . CommentsSpecialFields [ SiteCode . PFIHash ] = xgd23PFIHash ?? string . Empty ;
407401 info . CommonDiscInfo . CommentsSpecialFields [ SiteCode . SSHash ] = xgd23SSHash ?? string . Empty ;
408- // SS Version from DIC is ignored now
409- //info.CommonDiscInfo.CommentsSpecialFields[SiteCode.SSVersion] = xgd23SSVer ?? string.Empty;
410402 info . Extras . SecuritySectorRanges = xgd23SS ?? string . Empty ;
411403 }
412404 }
@@ -2387,11 +2379,10 @@ internal static bool GetXGDAuxHashInfo(Datafile? suppl, out string? dmihash, out
23872379 /// <param name="pfihash">Extracted PFI.bin CRC32 hash (upper-cased)</param>
23882380 /// <param name="sshash">Extracted SS.bin CRC32 hash (upper-cased)</param>
23892381 /// <param name="ss">Extracted security sector data</param>
2390- /// <param name="ssver">Extracted security sector version</param>
23912382 /// <returns>True on successful extraction of info, false otherwise</returns>
2392- internal static bool GetXGDAuxInfo ( string disc , out string ? dmihash , out string ? pfihash , out string ? sshash , out string ? ss , out string ? ssver )
2383+ internal static bool GetXGDAuxInfo ( string disc , out string ? dmihash , out string ? pfihash , out string ? sshash , out string ? ss )
23932384 {
2394- dmihash = null ; pfihash = null ; sshash = null ; ss = null ; ssver = null ;
2385+ dmihash = null ; pfihash = null ; sshash = null ; ss = null ;
23952386
23962387 // If the file doesn't exist, we can't get info from it
23972388 if ( string . IsNullOrEmpty ( disc ) )
@@ -2402,9 +2393,6 @@ internal static bool GetXGDAuxInfo(string disc, out string? dmihash, out string?
24022393 // This flag is needed because recent versions of DIC include security data twice
24032394 bool foundSecuritySectors = false ;
24042395
2405- // SS version for all Kreon DIC dumps is v1
2406- ssver = "01" ;
2407-
24082396 try
24092397 {
24102398 using var sr = File . OpenText ( disc ) ;
0 commit comments