From a8472a77f396b9dc1bdd29f5c0c9e2c6fedc7e0f Mon Sep 17 00:00:00 2001 From: feos Date: Tue, 28 Apr 2020 19:53:12 +0300 Subject: [PATCH] cycle count: how low can we go? --- .../tools/TAStudio/TAStudio.MenuItems.cs | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs index b8901702e1..830cc06403 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs @@ -253,19 +253,12 @@ namespace BizHawk.Client.EmuHawk private void ToBk2MenuItem_Click(object sender, EventArgs e) { _autosaveTimer.Stop(); - - if (Emulator.Frame != CurrentTasMovie.InputLogLength - 1) + + if (Emulator is Emulation.Cores.Nintendo.SubNESHawk.SubNESHawk + || Emulator is Emulation.Cores.Nintendo.Gameboy.Gameboy + || Emulator is Emulation.Cores.Nintendo.SubGBHawk.SubGBHawk) { - if (Emulator is Emulation.Cores.Nintendo.SubNESHawk.SubNESHawk - || Emulator is Emulation.Cores.Nintendo.Gameboy.Gameboy - || Emulator is Emulation.Cores.Nintendo.SubGBHawk.SubGBHawk) - { - var result = MessageBox.Show("This core requires emulation to be on the last frame when writing the movie, otherwise movie length may appear incorrect.\nSeek there?", "Export movie", MessageBoxButtons.OKCancel, MessageBoxIcon.Question); - if (result.IsOk()) - { - GoToFrame(CurrentTasMovie.InputLogLength - 1); - } - } + MessageBox.Show("This core requires emulation to be on the last frame when writing the movie, otherwise movie length will appear incorrect.\nTAStudio can't handle this, so Export BK2, play it to the end, and then Save Movie.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); } var bk2 = CurrentTasMovie.ToBk2(true, true);