diff --git a/src/BizHawk.Client.Common/tools/Watch/WatchList/WatchList.cs b/src/BizHawk.Client.Common/tools/Watch/WatchList/WatchList.cs index 5bf586b270..84ae14e0e8 100644 --- a/src/BizHawk.Client.Common/tools/Watch/WatchList/WatchList.cs +++ b/src/BizHawk.Client.Common/tools/Watch/WatchList/WatchList.cs @@ -177,10 +177,10 @@ namespace BizHawk.Client.Common /// of watch to merge public void AddRange(IEnumerable watches) { - Parallel.ForEach(watches, watch => + foreach(var watch in watches) { _watchList.Add(watch); - }); + } Changes = true; } @@ -189,7 +189,7 @@ namespace BizHawk.Client.Common /// public void ClearChangeCounts() { - Parallel.ForEach(_watchList, watch => watch.ClearChangeCount()); + foreach(var watch in _watchList) watch.ClearChangeCount(); } /// @@ -232,7 +232,7 @@ namespace BizHawk.Client.Common public void RefreshDomains(IMemoryDomains core, PreviousType previousType) { _memoryDomains = core; - Parallel.ForEach(_watchList, watch => + foreach(var watch in _watchList) { if (watch.IsSeparator) { @@ -243,7 +243,7 @@ namespace BizHawk.Client.Common watch.ResetPrevious(); watch.Update(previousType); watch.ClearChangeCount(); - }); + } } /// @@ -251,10 +251,10 @@ namespace BizHawk.Client.Common /// public void UpdateValues(PreviousType previousType) { - Parallel.ForEach(_watchList, watch => + foreach(var watch in _watchList) { watch.Update(previousType); - }); + }; } ///