File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
BinaryObjectScanner/GameEngine Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ public class RenderWare : IExecutableCheck<PortableExecutable>
2020 /// <inheritdoc/>
2121 public string ? CheckExecutable ( string file , PortableExecutable exe , bool includeDebug )
2222 {
23+ // TODO: Check if this indicates a specific version, or if these sections are present in multiple.
24+
2325 // Found in Redump entries 20138, 55823, and 102493.
24- bool rwcsegSection = exe . ContainsSection ( "_rwcseg" , exact : true ) ;
25- // Found in Redump entry 20138.
26- bool rwdsegSection = exe . ContainsSection ( "_rwdseg" , exact : true ) ;
26+ if ( exe . ContainsSection ( "_rwcseg" , exact : true ) )
27+ return "RenderWare" ;
2728
28- // TODO: Check if this indicates a specific version, or if these sections are present in multiple .
29- if ( rwcsegSection || rwdsegSection )
29+ // Found in Redump entry 20138 .
30+ if ( exe . ContainsSection ( "_rwdseg" , exact : true ) )
3031 return "RenderWare" ;
3132
3233 return null ;
You can’t perform that action at this time.
0 commit comments