From c87c1d8328bbd9c242f6d961bc87cc3c71e1d8e8 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 15 Jun 2019 15:51:56 -0500 Subject: [PATCH] simplify --- BizHawk.Client.Common/movie/tasproj/TasStateManager.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs b/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs index 0530a929db..84353f2d24 100644 --- a/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs +++ b/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs @@ -21,11 +21,6 @@ namespace BizHawk.Client.Common public Action InvalidateCallback { get; set; } - private void CallInvalidateCallback(int index) - { - InvalidateCallback?.Invoke(index); - } - private SortedList _states = new SortedList(); private bool _isMountedForWrite; @@ -213,7 +208,7 @@ namespace BizHawk.Client.Common Remove(state.Key); } - CallInvalidateCallback(frame); + InvalidateCallback?.Invoke(frame); } return anyInvalidated;