Fix SDL issues

(may need to add new settings page back)
This commit is contained in:
Stossy11 2024-12-03 17:54:42 +11:00
parent a59b4e05f2
commit b1fdf23fe6
20 changed files with 388 additions and 177 deletions

View file

@ -42,6 +42,7 @@ using ConfigGamepadInputId = Ryujinx.Common.Configuration.Hid.Controller.Gamepad
using ConfigStickInputId = Ryujinx.Common.Configuration.Hid.Controller.StickInputId;
using Key = Ryujinx.Common.Configuration.Hid.Key;
using System.Linq;
using System.Globalization;
public class GamepadInfo
{
@ -97,11 +98,11 @@ namespace Ryujinx.Headless.SDL2
static void Main(string[] args)
{
Silk.NET.Core.Loader.SearchPathContainer.Platform = Silk.NET.Core.Loader.UnderlyingPlatform.MacOS;
Version = "1";
// Make process DPI aware for proper window sizing on high-res screens.
ForceDpiAware.Windows();
CultureInfo.CurrentCulture = CultureInfo.InvariantCulture;
Silk.NET.Core.Loader.SearchPathContainer.Platform = Silk.NET.Core.Loader.UnderlyingPlatform.MacOS;