diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-10-10 10:01:52 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2023-10-30 19:03:18 -0400 |
commit | d78be6716b504b00a4bf9b1d637bdb878f303063 (patch) | |
tree | 3be1ce5669ae5b1bfd39589010f50599ac1d0b41 /apps/debug_menu.c | |
parent | d77c417fd1bfb79013bbd2c47920d89b95a5ac76 (diff) | |
download | rockbox-d78be6716b504b00a4bf9b1d637bdb878f303063.tar.gz rockbox-d78be6716b504b00a4bf9b1d637bdb878f303063.zip |
[BUGFIX] block SYS_EVENTS from some action switches
fixes some of the places where SYS EVENTS cause issues with action switches
that don't have handling for system events
more exist..
Change-Id: Ie6f4b05ed7ef1119d43e65ee49be8f754af83f52
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 6794b3fe9f..5b73f8badd 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -209,6 +209,10 @@ static int dbg_threads_action_callback(int action, struct gui_synclist *lists) | |||
209 | *x_offset += 1; | 209 | *x_offset += 1; |
210 | action = ACTION_REDRAW; | 210 | action = ACTION_REDRAW; |
211 | } | 211 | } |
212 | else if (IS_SYSEVENT(action)) | ||
213 | { | ||
214 | return ACTION_REDRAW; | ||
215 | } | ||
212 | else if (action != ACTION_UNKNOWN) | 216 | else if (action != ACTION_UNKNOWN) |
213 | { | 217 | { |
214 | *x_offset = 0; | 218 | *x_offset = 0; |