Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/FelLib
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-01-19 21:59:48 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-01-19 21:59:48 +0300
commit5a399d3442a811f0cd5f4c897854772e366849d2 (patch)
tree460de0345f43be4fc410488074ce0241e697fdea /FelLib
parentcf0c944eb850d3fdb1e979ba18c162e425772264 (diff)
Comtatibility with VS2013
Diffstat (limited to 'FelLib')
-rw-r--r--FelLib/Fel.cs2
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)