diff --git a/src/Ryujinx.Graphics.Metal/MetalRenderer.cs b/src/Ryujinx.Graphics.Metal/MetalRenderer.cs index bb87b6a49..935a5b3b1 100644 --- a/src/Ryujinx.Graphics.Metal/MetalRenderer.cs +++ b/src/Ryujinx.Graphics.Metal/MetalRenderer.cs @@ -20,6 +20,8 @@ namespace Ryujinx.Graphics.Metal private Pipeline _pipeline; private Window _window; + + public uint ProgramCount { get; set; } = 0; public event EventHandler ScreenCaptured; public bool PreferThreading => true; @@ -102,6 +104,7 @@ namespace Ryujinx.Graphics.Metal public IProgram CreateProgram(ShaderSource[] shaders, ShaderInfo info) { + ProgramCount++; return new Program(this, _device, shaders, info.ResourceLayout, info.ComputeLocalSize); } diff --git a/src/Ryujinx.Graphics.Metal/Window.cs b/src/Ryujinx.Graphics.Metal/Window.cs index 6489b591d..65a47d217 100644 --- a/src/Ryujinx.Graphics.Metal/Window.cs +++ b/src/Ryujinx.Graphics.Metal/Window.cs @@ -137,10 +137,10 @@ namespace Ryujinx.Graphics.Metal _requestedWidth = width; _requestedHeight = height; } - - public void ChangeVSyncMode(bool vsyncEnabled) + + public void ChangeVSyncMode(VSyncMode vSyncMode) { - // _vsyncEnabled = vsyncEnabled; + //_vSyncMode = vSyncMode; } public void SetAntiAliasing(AntiAliasing effect) diff --git a/src/Ryujinx.Headless.SDL2/Metal/MetalWindow.cs b/src/Ryujinx.Headless.SDL2/Metal/MetalWindow.cs index e10d6eb29..5140d639b 100644 --- a/src/Ryujinx.Headless.SDL2/Metal/MetalWindow.cs +++ b/src/Ryujinx.Headless.SDL2/Metal/MetalWindow.cs @@ -22,8 +22,9 @@ namespace Ryujinx.Headless.SDL2.Metal GraphicsDebugLevel glLogLevel, AspectRatio aspectRatio, bool enableMouse, - HideCursorMode hideCursorMode) - : base(inputManager, glLogLevel, aspectRatio, enableMouse, hideCursorMode) { } + HideCursorMode hideCursorMode, + bool ignoreControllerApplet) + : base(inputManager, glLogLevel, aspectRatio, enableMouse, hideCursorMode, ignoreControllerApplet) { } public override SDL_WindowFlags GetWindowFlags() => SDL_WindowFlags.SDL_WINDOW_METAL;