TasStateManager - deciding upon a "fix" to the probable bug. This is technically different behavior than before but the intended behavior? This might break stuff
This commit is contained in:
parent
2a54517b52
commit
cf15eb8950
|
@ -427,10 +427,11 @@ namespace BizHawk.Client.Common
|
|||
state = BranchStates[frame][branch];
|
||||
|
||||
if (BranchStates[frame][branch].IsOnDisk)
|
||||
{
|
||||
BranchStates[frame][branch].Dispose();
|
||||
else
|
||||
////Used -= (ulong)BranchStates[frame][branch].Length;
|
||||
BranchStates[frame].RemoveAt(BranchStates[frame].IndexOfKey(branch)); // <adelikat> - feos, this runs only on hte else condition, I'm pretty sure this isn't intended? Check changeset a7b3668506ba62c40fd455bf36d919b4c5d92bf8
|
||||
}
|
||||
|
||||
BranchStates[frame].RemoveAt(BranchStates[frame].IndexOfKey(branch));
|
||||
|
||||
if (BranchStates[frame].Count == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue