diff --git a/Ryujinx.Profiler/UI/ProfileWindowManager.cs b/Ryujinx.Profiler/UI/ProfileWindowManager.cs index 3b10ccb582..4ba0c88142 100644 --- a/Ryujinx.Profiler/UI/ProfileWindowManager.cs +++ b/Ryujinx.Profiler/UI/ProfileWindowManager.cs @@ -47,7 +47,6 @@ namespace Ryujinx.Profiler.UI _window = null; } - [Conditional("USE_PROFILING")] public void UpdateKeyInput(KeyboardState keyboard) { if (Profile.Controls.TogglePressed(keyboard)) diff --git a/Ryujinx/Ui/GLScreen.cs b/Ryujinx/Ui/GLScreen.cs index d07ad89578..2ea6cff859 100644 --- a/Ryujinx/Ui/GLScreen.cs +++ b/Ryujinx/Ui/GLScreen.cs @@ -152,9 +152,11 @@ namespace Ryujinx if (_keyboard.HasValue) { KeyboardState keyboard = _keyboard.Value; - + + #if USE_PROFILING // Profiler input, lets the profiler get access to the main windows keyboard state _profileWindow.UpdateKeyInput(keyboard); + #endif // Normal Input currentButton = Configuration.Instance.KeyboardControls.GetButtons(keyboard);