Update Status Bar save slots on LoadRom()

This commit is contained in:
andres.delikat 2011-08-26 23:54:15 +00:00
parent 82630e62b5
commit 0536a04f59
1 changed files with 5 additions and 4 deletions

View File

@ -970,10 +970,10 @@ namespace BizHawk.MultiClient
return false; return false;
} }
rom = new RomGame(new HawkFile(Global.Config.PathPCEBios)); rom = new RomGame(new HawkFile(Global.Config.PathPCEBios));
if (rom.GameInfo["SuperSysCard"]) if (rom.GameInfo["SuperSysCard"])
game.AddOption("SuperSysCard"); game.AddOption("SuperSysCard");
if ((game["NeedSuperSysCard"]) && game["SuperSysCard"] == false) if ((game["NeedSuperSysCard"]) && game["SuperSysCard"] == false)
MessageBox.Show("This game requires a version 3.0 System card and won't run with the system card you've selected. Try selecting a 3.0 System Card in Config->Paths->PC Engine."); MessageBox.Show("This game requires a version 3.0 System card and won't run with the system card you've selected. Try selecting a 3.0 System Card in Config->Paths->PC Engine.");
nextEmulator = new PCEngine(game, disc, rom.RomData); nextEmulator = new PCEngine(game, disc, rom.RomData);
break; break;
} }
@ -1082,6 +1082,7 @@ namespace BizHawk.MultiClient
CurrentlyOpenRom = file.CanonicalFullPath; CurrentlyOpenRom = file.CanonicalFullPath;
HandlePlatformMenus(); HandlePlatformMenus();
StateSlots.Clear(); StateSlots.Clear();
UpdateStatusSlots();
UpdateDumpIcon(); UpdateDumpIcon();
return true; return true;
} }