ensure that Tastudio is fully updated when doing cut/paste operations, should really fix #1956 this time

This commit is contained in:
adelikat 2020-05-01 15:14:49 -05:00
parent 2254098b9c
commit 3e8bad74a2
1 changed files with 17 additions and 34 deletions

View File

@ -490,10 +490,8 @@ namespace BizHawk.Client.EmuHawk
GoToLastEmulatedFrameIfNecessary(rollbackFrame); GoToLastEmulatedFrameIfNecessary(rollbackFrame);
DoAutoRestore(); DoAutoRestore();
} }
else
{ FullRefresh();
FullRefresh();
}
} }
} }
} }
@ -533,10 +531,8 @@ namespace BizHawk.Client.EmuHawk
GoToLastEmulatedFrameIfNecessary(TasView.FirstSelectedIndex.Value); GoToLastEmulatedFrameIfNecessary(TasView.FirstSelectedIndex.Value);
DoAutoRestore(); DoAutoRestore();
} }
else
{ FullRefresh();
FullRefresh();
}
} }
} }
} }
@ -576,10 +572,8 @@ namespace BizHawk.Client.EmuHawk
GoToLastEmulatedFrameIfNecessary(rollBackFrame); GoToLastEmulatedFrameIfNecessary(rollBackFrame);
DoAutoRestore(); DoAutoRestore();
} }
else
{ FullRefresh();
FullRefresh();
}
} }
} }
@ -604,10 +598,8 @@ namespace BizHawk.Client.EmuHawk
GoToLastEmulatedFrameIfNecessary(rollBackFrame); GoToLastEmulatedFrameIfNecessary(rollBackFrame);
DoAutoRestore(); DoAutoRestore();
} }
else
{ FullRefresh();
FullRefresh();
}
} }
} }
@ -632,10 +624,8 @@ namespace BizHawk.Client.EmuHawk
GoToLastEmulatedFrameIfNecessary(rollBackFrame); GoToLastEmulatedFrameIfNecessary(rollBackFrame);
DoAutoRestore(); DoAutoRestore();
} }
else
{ FullRefresh();
FullRefresh();
}
} }
} }
@ -658,10 +648,8 @@ namespace BizHawk.Client.EmuHawk
GoToLastEmulatedFrameIfNecessary(insertionFrame); GoToLastEmulatedFrameIfNecessary(insertionFrame);
DoAutoRestore(); DoAutoRestore();
} }
else
{ FullRefresh();
FullRefresh();
}
} }
} }
@ -679,10 +667,8 @@ namespace BizHawk.Client.EmuHawk
GoToLastEmulatedFrameIfNecessary(insertionFrame); GoToLastEmulatedFrameIfNecessary(insertionFrame);
DoAutoRestore(); DoAutoRestore();
} }
else
{ FullRefresh();
FullRefresh();
}
} }
} }
@ -692,8 +678,7 @@ namespace BizHawk.Client.EmuHawk
{ {
int insertionFrame = TasView.FirstSelectedIndex ?? 0; int insertionFrame = TasView.FirstSelectedIndex ?? 0;
using var framesPrompt = new FramesPrompt(); using var framesPrompt = new FramesPrompt();
DialogResult result = framesPrompt.ShowDialog(); if (framesPrompt.ShowDialog().IsOk())
if (result == DialogResult.OK)
{ {
InsertNumFrames(insertionFrame, framesPrompt.Frames); InsertNumFrames(insertionFrame, framesPrompt.Frames);
} }
@ -714,10 +699,8 @@ namespace BizHawk.Client.EmuHawk
{ {
GoToFrame(rollbackFrame); GoToFrame(rollbackFrame);
} }
else
{ FullRefresh();
FullRefresh();
}
} }
} }