From 8c7b0c6ff12ad67d17f88da03add1be272cbb347 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 15 Mar 2020 09:57:54 -0500 Subject: [PATCH] delete some vestigial coreComm/CoreFileProvider code --- BizHawk.Client.EmuHawk/MainForm.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index 359e9e3784..0c6155dd51 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -216,7 +216,6 @@ namespace BizHawk.Client.EmuHawk _throttle = new Throttle(); - var comm = CreateCoreComm(); Emulator = new NullEmulator(); GlobalWin.Tools = new ToolManager(this, Config, Emulator); Global.CheatList = new CheatCollection(); @@ -251,7 +250,6 @@ namespace BizHawk.Client.EmuHawk MessageBox.Show(e.Message); } - Database.LoadDatabase(Path.Combine(PathManager.GetExeDirectoryAbsolute(), "gamedb", "gamedb.txt")); // TODO GL - a lot of disorganized wiring-up here @@ -318,7 +316,6 @@ namespace BizHawk.Client.EmuHawk Input.Initialize(this); InitControls(); - CoreFileProvider.SyncCoreCommInputSignals(comm); Global.ActiveController = new Controller(NullController.Instance.Definition); Global.AutoFireController = _autofireNullControls; Global.AutofireStickyXORAdapter.SetOnOffPatternFromConfig(); @@ -3882,8 +3879,6 @@ namespace BizHawk.Client.EmuHawk CheatList.SaveOnClose(); Emulator.Dispose(); - var coreComm = CreateCoreComm(); - CoreFileProvider.SyncCoreCommInputSignals(coreComm); Emulator = new NullEmulator(); ClientApi.UpdateEmulatorAndVP(Emulator); Global.ActiveController = new Controller(NullController.Instance.Definition);