fix some bug with certain case of rom load failure maybe
This commit is contained in:
parent
e55dd02644
commit
14e9e38c44
|
@ -3062,7 +3062,8 @@ namespace BizHawk.Client.EmuHawk
|
||||||
// the new settings objects
|
// the new settings objects
|
||||||
CommitCoreSettingsToConfig(); // adelikat: I Think by reordering things, this isn't necessary anymore
|
CommitCoreSettingsToConfig(); // adelikat: I Think by reordering things, this isn't necessary anymore
|
||||||
CloseGame();
|
CloseGame();
|
||||||
Global.Emulator.Dispose();
|
|
||||||
|
//Global.Emulator.Dispose(); // CloseGame() already killed and disposed the emulator; this is killing the new one; that's bad
|
||||||
|
|
||||||
var nextComm = CreateCoreComm();
|
var nextComm = CreateCoreComm();
|
||||||
CoreFileProvider.SyncCoreCommInputSignals(nextComm);
|
CoreFileProvider.SyncCoreCommInputSignals(nextComm);
|
||||||
|
@ -3242,6 +3243,8 @@ namespace BizHawk.Client.EmuHawk
|
||||||
Global.ActiveController = Global.NullControls;
|
Global.ActiveController = Global.NullControls;
|
||||||
Global.AutoFireController = Global.AutofireNullControls;
|
Global.AutoFireController = Global.AutofireNullControls;
|
||||||
|
|
||||||
|
RewireSound();
|
||||||
|
|
||||||
// adelikat: TODO: Ugly hack! But I don't know a way around this yet.
|
// adelikat: TODO: Ugly hack! But I don't know a way around this yet.
|
||||||
if (!(Global.MovieSession.Movie is TasMovie))
|
if (!(Global.MovieSession.Movie is TasMovie))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue