From a2080c76babaeda95b9dda5f02f2b81e3f452015 Mon Sep 17 00:00:00 2001 From: Ghabry Date: Mon, 2 Sep 2024 20:50:48 +0200 Subject: [PATCH] Switch: Fix build (Add missing return value) --- src/platform/switch/ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/switch/ui.cpp b/src/platform/switch/ui.cpp index 1ef3f28bd0..957dba60d8 100644 --- a/src/platform/switch/ui.cpp +++ b/src/platform/switch/ui.cpp @@ -439,7 +439,7 @@ bool NxUi::ProcessEvents() { // do not handle touch when not displaying buttons or no touch happened if (is_docked || vcfg.touch_ui.IsLocked() || !vcfg.touch_ui.Get() || !hidGetTouchScreenStates(&touch, 1)) - return; + return true; for (int32_t i = 0; i < touch.count; ++i) { if (touch.touches[i].x < 160) {