Esempio n. 1
0
        /// <summary>Ensures SF4 is open and delays the playback by one second.</summary>
        /// <returns>true if SF4 is open, false if it is not.</returns>
        private bool DelayPlayBack()
        {
            if (!_sf4Memory.openSF4Process())
            {
                System.Windows.Forms.MessageBox.Show("Couldn't open the SF4 Process, are you sure it's running?");
                return(false);
            }

            Execute.OnUIThread(() => OffsetFrame = 0);

            // Wait 1 seconds to give time to start
            WaitForFrames(60);
            return(true);
        }