From 34cf7a6bc4a3f9600c006edaa2e36caa3ef6f3e5 Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Sun, 12 Feb 2023 20:54:20 +0100 Subject: [PATCH] Window out of focus should no longer lag --- Capy64/Capy64.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Capy64/Capy64.cs b/Capy64/Capy64.cs index b1704e8..a0bf001 100644 --- a/Capy64/Capy64.cs +++ b/Capy64/Capy64.cs @@ -132,6 +132,8 @@ public class Capy64 : Game, IGame Window.AllowUserResizing = true; Window.ClientSizeChanged += OnWindowSizeChange; + InactiveSleepTime = new TimeSpan(0); + Audio = new Audio(); NativePlugins = GetNativePlugins();