Fixed TAStudio read-only mode button to change the movie mode instead of changing the read-only flag which has a different meaning.
This commit is contained in:
parent
520dfcb37b
commit
bf325ec082
|
@ -671,7 +671,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="config\ControllerImages\NESController.png" />
|
||||
<None Include="Resources\TurboFastForward.png" />
|
||||
<None Include="images\TurboFastForward.png" />
|
||||
<None Include="images\cheat.png" />
|
||||
<None Include="images\Cheats.ico" />
|
||||
<None Include="images\Debugger.png" />
|
||||
|
@ -791,7 +791,9 @@
|
|||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Folder Include="Resources\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
|
|
@ -323,15 +323,16 @@ namespace BizHawk.MultiClient
|
|||
|
||||
private void checkBox1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
Global.MainForm.SetReadOnly(ReadOnlyCheckBox.Checked);
|
||||
if (ReadOnlyCheckBox.Checked)
|
||||
{
|
||||
Global.MovieSession.Movie.Mode = MOVIEMODE.PLAY;
|
||||
ReadOnlyCheckBox.BackColor = System.Drawing.SystemColors.Control;
|
||||
toolTip1.SetToolTip(this.ReadOnlyCheckBox, "Currently Read-Only Mode");
|
||||
}
|
||||
else
|
||||
{
|
||||
ReadOnlyCheckBox.BackColor = Color.LightCoral;
|
||||
Global.MovieSession.Movie.Mode = MOVIEMODE.RECORD;
|
||||
ReadOnlyCheckBox.BackColor = Color.LightCoral;
|
||||
toolTip1.SetToolTip(this.ReadOnlyCheckBox, "Currently Read+Write Mode");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue