Ejemplo n.º 1
0
        private void CreateGameWindow(HLE.Switch device)
        {
            device.Hid.InitializePrimaryController(ConfigurationState.Instance.Hid.ControllerType);

            using (_screen = new GlScreen(device))
            {
                _screen.MainLoop();
            }

            device.Dispose();

            _emulationContext = null;
            _screen           = null;
            _gameLoaded       = false;

            DiscordIntegrationModule.SwitchToMainMenu();

            _screenExitStatus.Set();

            Application.Invoke(delegate
            {
                _stopEmulation.Sensitive            = false;
                _firmwareInstallFile.Sensitive      = true;
                _firmwareInstallDirectory.Sensitive = true;
            });
        }
Ejemplo n.º 2
0
        private static void CreateGameWindow()
        {
            _device.Hid.InitializePrimaryController(ConfigurationState.Instance.Hid.ControllerType);

            using (_screen = new GlScreen(_device, _renderer))
            {
                _screen.MainLoop();

                End();
            }
        }
Ejemplo n.º 3
0
        private static void CreateGameWindow()
        {
            Configuration.ConfigureHid(_device, SwitchSettings.SwitchConfig);

            using (_screen = new GlScreen(_device, _renderer))
            {
                _screen.MainLoop();

                End();
            }
        }