Skip to content

Commit

Permalink
Switch: Fix build (Add missing return value)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Sep 2, 2024
1 parent fc4568a commit a2080c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/switch/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a2080c7

Please sign in to comment.