diff --git a/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs b/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs index df5e05b3ce..5a713d91be 100644 --- a/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs +++ b/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs @@ -63,6 +63,19 @@ namespace BizHawk.Client.Common } } + public byte[] InitialState + { + get + { + if (_movie.StartsFromSavestate) + { + return _movie.BinarySavestate; + } + + return States[0]; + } + } + /// /// Requests that the current emulator state be captured /// Unless force is true, the state may or may not be captured depending on the logic employed by "greenzone" management