fix input save crash
This commit is contained in:
parent
7f2079beed
commit
7c9d170248
|
@ -111,6 +111,7 @@ namespace BizHawk.MultiClient
|
||||||
if (Global.Sound != null) Global.Sound.StartSound();
|
if (Global.Sound != null) Global.Sound.StartSound();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Input.Initialize();
|
||||||
InitControls();
|
InitControls();
|
||||||
Global.Emulator = new NullEmulator();
|
Global.Emulator = new NullEmulator();
|
||||||
Global.ActiveController = Global.NullControls;
|
Global.ActiveController = Global.NullControls;
|
||||||
|
@ -399,7 +400,6 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
private void InitControls()
|
private void InitControls()
|
||||||
{
|
{
|
||||||
Input.Initialize();
|
|
||||||
var controls = new Controller(ClientControlsDef);
|
var controls = new Controller(ClientControlsDef);
|
||||||
controls.BindMulti("Fast Forward", Global.Config.FastForwardBinding);
|
controls.BindMulti("Fast Forward", Global.Config.FastForwardBinding);
|
||||||
controls.BindMulti("Rewind", Global.Config.RewindBinding);
|
controls.BindMulti("Rewind", Global.Config.RewindBinding);
|
||||||
|
|
Loading…
Reference in New Issue