Update `CurrentlyOpenRom` before `Tools.Restart` (#3691)
This commit is contained in:
parent
e78e53ba72
commit
b0fee2bbbb
|
@ -3985,6 +3985,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
CurrentlyOpenRom = oaOpenrom?.Path ?? openAdvancedArgs;
|
||||
CurrentlyOpenRomArgs = args;
|
||||
|
||||
Tools.Restart(Config, Emulator, Game);
|
||||
|
||||
if (Config.Cheats.LoadFileByGame && Emulator.HasMemoryDomains())
|
||||
|
@ -4000,8 +4003,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
CurrentlyOpenRom = oaOpenrom?.Path ?? openAdvancedArgs;
|
||||
CurrentlyOpenRomArgs = args;
|
||||
OnRomChanged();
|
||||
DisplayManager.UpdateGlobals(Config, Emulator);
|
||||
DisplayManager.Blank();
|
||||
|
|
Loading…
Reference in New Issue