Skip to content

Commit

Permalink
don't keep multidisk flag on after it was set once
Browse files Browse the repository at this point in the history
don't replace mame rom info icon and text with multidisk ones if there are emulation issues
  • Loading branch information
vadosnaprimer committed Apr 9, 2023
1 parent fadc445 commit ffd8e68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/BizHawk.Client.EmuHawk/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,10 @@ public void UpdateDumpInfo(RomStatus? newStatus = null)
DumpStatusButton.ToolTipText = "Verified good dump";
}

if (_multiDiskMode)
if (_multiDiskMode && !(
Game.Status == RomStatus.Imperfect ||
Game.Status == RomStatus.Unimplemented ||
Game.Status == RomStatus.NotWorking))
{
DumpStatusButton.ToolTipText = "Multi-disk bundler";
DumpStatusButton.Image = Properties.Resources.RetroQuestion;
Expand Down Expand Up @@ -3865,6 +3868,7 @@ private bool LoadRomInternal(string path, LoadRomArgs args, out bool failureIsFr
Config.RecentCores.Enqueue(Emulator.Attributes().CoreName);
while (Config.RecentCores.Count > 5) Config.RecentCores.Dequeue();
InputManager.SyncControls(Emulator, MovieSession, Config);
_multiDiskMode = false;

if (oaOpenrom != null && Path.GetExtension(oaOpenrom.Path.Replace("|", "")).ToLowerInvariant() == ".xml" && !(Emulator is LibsnesCore))
{
Expand Down

0 comments on commit ffd8e68

Please sign in to comment.