Define active controller whenever a new null emulator is created
This commit is contained in:
parent
fcae514df5
commit
a3b996e4e2
|
@ -100,6 +100,7 @@ namespace BizHawk.MultiClient
|
|||
InitControls();
|
||||
Global.Emulator = new NullEmulator();
|
||||
InputLog.StopMovie();
|
||||
Global.ActiveController = Global.NullControls;
|
||||
Global.Sound = new Sound(Handle, Global.DSound);
|
||||
Global.Sound.StartSound();
|
||||
|
||||
|
@ -696,6 +697,7 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
Global.Emulator = new NullEmulator();
|
||||
InputLog.StopMovie();
|
||||
Global.ActiveController = Global.NullControls;
|
||||
}
|
||||
|
||||
[System.Security.SuppressUnmanagedCodeSecurity, DllImport("User32.dll", CharSet = CharSet.Auto)]
|
||||
|
|
Loading…
Reference in New Issue