tastudio: quit pretending -1 is a legit branchHash

seems to fix #785
This commit is contained in:
feos 2017-01-29 10:24:11 +03:00
parent dd19a69b6c
commit 36f53116b1
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,7 @@ namespace BizHawk.Client.Common
}
// Check if there are any branch states for the given frame.
if (!BranchStates.ContainsKey(frame) || BranchStates[frame] == null)
if (!BranchStates.ContainsKey(frame) || BranchStates[frame] == null || branchHash == -1)
return -2;
// Loop through branch states for the given frame.