applied Thog's patch to fix issue on linux
This commit is contained in:
parent
85b695f247
commit
97c4ad8850
2 changed files with 6 additions and 1 deletions
|
@ -289,7 +289,10 @@ namespace Ryujinx
|
|||
device.System.UseLegacyJit = SwitchConfig.EnableLegacyJit;
|
||||
|
||||
ServiceConfiguration.IgnoreMissingServices = SwitchConfig.IgnoreMissingServices;
|
||||
|
||||
}
|
||||
|
||||
public static void ConfigureHid(Switch device, Configuration SwitchConfig)
|
||||
{
|
||||
if (SwitchConfig.JoystickControls.Enabled)
|
||||
{
|
||||
if (!Joystick.GetState(SwitchConfig.JoystickControls.Index).IsConnected)
|
||||
|
|
|
@ -310,6 +310,8 @@ namespace Ryujinx.UI
|
|||
|
||||
private static void CreateGameWindow()
|
||||
{
|
||||
Configuration.ConfigureHid(_device, SwitchSettings.SwitchConfig);
|
||||
|
||||
using (GlScreen screen = new GlScreen(_device, _renderer))
|
||||
{
|
||||
screen.MainLoop();
|
||||
|
|
Loading…
Add table
Reference in a new issue