reset "change" variables on tasproj load

Doing this fixes tasproj prompting for save on bk2->tasproj conversion (which makes no sense) and generally seems senseful to do; there is no point ever having a changelog or changes bool set just after loading a tasproj
This commit is contained in:
Morilli 2023-09-27 21:54:35 +02:00
parent cf809ed5aa
commit a71b228c70
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ namespace BizHawk.Client.Common
Session.PopupMessage("The current .tasproj is not compatible with this version of BizHawk! .tasproj features failed to load.");
Markers.Add(0, StartsFromSavestate ? "Savestate" : "Power on");
}
ChangeLog.Clear();
Changes = false;
}
private void LoadTasprojExtras(ZipStateLoader bl)