diff --git a/BurnOutSharp/ProtectionType/SoftLock.cs b/BurnOutSharp/ProtectionType/SoftLock.cs
index 72e8c97c..ccf00241 100644
--- a/BurnOutSharp/ProtectionType/SoftLock.cs
+++ b/BurnOutSharp/ProtectionType/SoftLock.cs
@@ -10,14 +10,16 @@ namespace BurnOutSharp.ProtectionType
///
public ConcurrentQueue CheckDirectoryPath(string path, IEnumerable files)
{
- // TODO: Verify if these are OR or AND
var matchers = new List
{
- new PathMatchSet(new PathMatch("SOFTLOCKI.dat", useEndsWith: true), "SoftLock (Unconfirmed - Please report to us on Github)"),
- new PathMatchSet(new PathMatch("SOFTLOCKC.dat", useEndsWith: true), "SoftLock (Unconfirmed - Please report to us on Github)"),
+ new PathMatchSet(new List
+ {
+ new PathMatch(needle: "SOFTLOCKC.dat", useEndsWith: true),
+ new PathMatch("SOFTLOCKI.dat", useEndsWith: true),
+ }, "SoftLock"),
};
- return MatchUtil.GetAllMatches(files, matchers, any: true);
+ return MatchUtil.GetAllMatches(files, matchers, any: false);
}
///
@@ -25,8 +27,8 @@ namespace BurnOutSharp.ProtectionType
{
var matchers = new List
{
- new PathMatchSet(new PathMatch("SOFTLOCKI.dat", useEndsWith: true), "SoftLock (Unconfirmed - Please report to us on Github)"),
- new PathMatchSet(new PathMatch("SOFTLOCKC.dat", useEndsWith: true), "SoftLock (Unconfirmed - Please report to us on Github)"),
+ new PathMatchSet(new PathMatch("SOFTLOCKC.dat", useEndsWith: true), "SoftLock"),
+ new PathMatchSet(new PathMatch("SOFTLOCKI.dat", useEndsWith: true), "SoftLock"),
};
return MatchUtil.GetFirstMatch(path, matchers, any: true);
diff --git a/README.md b/README.md
index 8c5389f5..4ed83c8b 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ Below is a list of protections detected by BurnOutSharp. The two columns explain
| SafeLock | False | True | |
| SecuROM | True | True | v8.x and White Label detected partially² |
| SmartE | True | True | |
-| SoftLock | False | True | Unconfirmed¹ |
+| SoftLock | False | True | |
| SolidShield | True | True | Some Wrapper v1 not detected² |
| StarForce | True | False | Partially unconfirmed², commented out issue with `protect.exe` false positives |
| Steam | True | True | |