Update virtualpads immediate when the movie status changes, huge improvement when using tastudio and virtualpad together as the record checkbox toggle now changes the readonly status of the pad

This commit is contained in:
adelikat 2022-12-12 12:44:17 -06:00 committed by James Groom
parent 837592ca11
commit f6503adfb8
2 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,7 @@ namespace BizHawk.Client.EmuHawk
UpdateWindowTitle();
UpdateStatusSlots();
Tools.UpdateValues<VirtualpadTool>();
}
public void StopMovie(bool saveChanges = true)

View File

@ -147,6 +147,8 @@ namespace BizHawk.Client.EmuHawk
CreatePads();
}
protected override void GeneralUpdate() => UpdateAfter();
protected override void UpdateAfter()
{
if (!IsHandleCreated || IsDisposed)