diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-01-19 21:59:48 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-01-19 21:59:48 +0300 |
commit | 5a399d3442a811f0cd5f4c897854772e366849d2 (patch) | |
tree | 460de0345f43be4fc410488074ce0241e697fdea /FelLib | |
parent | cf0c944eb850d3fdb1e979ba18c162e425772264 (diff) |
Comtatibility with VS2013
Diffstat (limited to 'FelLib')
-rw-r--r-- | FelLib/Fel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FelLib/Fel.cs b/FelLib/Fel.cs index 012cb4d3..fa0982d5 100644 --- a/FelLib/Fel.cs +++ b/FelLib/Fel.cs @@ -330,7 +330,7 @@ namespace com.clusterrr.FelLib public void RunUbootCmd(string command, bool noreturn = false, OnFelProgress callback = null)
{
- callback?.Invoke(CurrentAction.RunningCommand, command);
+ if (callback != null) callback(CurrentAction.RunningCommand, command);
if (cmdOffset < 0) throw new Exception("Invalid Unoot binary, command variable not found");
const UInt32 testSize = 0x20;
if (UBootBin == null || UBootBin.Length < testSize)
|