Prevent Advanced loader from pooping all over every other tool, this needs to be refactored
This commit is contained in:
parent
4460055da3
commit
c333403895
|
@ -858,7 +858,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
public void RebootCore()
|
||||
{
|
||||
var ioa = OpenAdvancedSerializer.ParseWithLegacy(CurrentlyOpenRom);
|
||||
var ioa = OpenAdvancedSerializer.ParseWithLegacy(CurrentlyOpenRomPoopForAdvancedLoaderPleaseRefactorME);
|
||||
if (ioa is OpenAdvanced_LibretroNoGame)
|
||||
LoadRom("", CurrentlyOpenRomArgs);
|
||||
else
|
||||
|
@ -3460,7 +3460,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
|
||||
SetWindowText();
|
||||
CurrentlyOpenRom = loaderName;
|
||||
CurrentlyOpenRomPoopForAdvancedLoaderPleaseRefactorME = loaderName;
|
||||
CurrentlyOpenRom = loaderName.Replace("*OpenRom*", ""); // POOP
|
||||
HandlePlatformMenus();
|
||||
_stateSlots.Clear();
|
||||
UpdateCoreStatusBarButton();
|
||||
|
@ -3521,6 +3522,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
private string CurrentlyOpenRomPoopForAdvancedLoaderPleaseRefactorME = "";
|
||||
|
||||
private static void CommitCoreSettingsToConfig()
|
||||
{
|
||||
// save settings object
|
||||
|
|
Loading…
Reference in New Issue