public EmuClientApi(Action <string> logCallback, IMainFormForApi mainForm, DisplayManagerBase displayManager, Config config, IEmulator emulator, IGameInfo game) { _config = config; _displayManager = displayManager; Emulator = emulator; Game = game; _logCallback = logCallback; _mainForm = mainForm; VideoProvider = Emulator.AsVideoProviderOrDefault(); }
public InputApi(DisplayManagerBase displayManager, InputManager inputManager) { _displayManager = displayManager; _inputManager = inputManager; }