This commit is contained in:
feos 2023-10-28 12:20:22 +03:00
parent ef864536de
commit bb0bd415a6
3 changed files with 8 additions and 9 deletions

View File

@ -127,7 +127,7 @@ namespace BizHawk.Client.EmuHawk
private void RecordingModeCheckbox_MouseClick(object sender, MouseEventArgs e)
{
RecordingMode ^= true;
Tastudio.WasRecording = RecordingMode; // hard reset at manual click
Tastudio.WasRecording = RecordingMode; // hard reset at manual click and hotkey
}
private void RewindButton_MouseDown(object sender, MouseEventArgs e)

View File

@ -54,14 +54,7 @@ namespace BizHawk.Client.EmuHawk
public void ToggleReadOnly()
{
if (CurrentTasMovie.IsPlayingOrFinished())
{
TastudioRecordMode();
}
else if (CurrentTasMovie.IsRecording())
{
TastudioPlayMode();
}
TastudioToggleReadOnly();
}
public bool WantsToControlStopMovie { get; private set; }

View File

@ -712,6 +712,12 @@ namespace BizHawk.Client.EmuHawk
TasPlaybackBox.RecordingMode = false;
}
private void TastudioToggleReadOnly()
{
TasPlaybackBox.RecordingMode ^= true;
WasRecording = TasPlaybackBox.RecordingMode; // hard reset at manual click and hotkey
}
private void TastudioRecordMode()
{
TasPlaybackBox.RecordingMode = true;