diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2022-08-14 02:35:36 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2022-08-16 13:19:11 +0200 |
commit | cf37676fb100fad9a422159d27ff1d3f260f7d60 (patch) | |
tree | 193fd184ed98e944bbc02d1738b4b14a8b7ce0a9 /apps | |
parent | 7a3d829543f437691ca36278d862f5ddf228f816 (diff) | |
download | rockbox-cf37676fb100fad9a422159d27ff1d3f260f7d60.tar.gz rockbox-cf37676fb100fad9a422159d27ff1d3f260f7d60.zip |
pictureflow: fix FS#13360 softlock cannot be disabled
Change-Id: Id34cc737f9d43a5cbaf5519a6f05ca31efbee8f2
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index b20225492e..0e5585681d 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c | |||
@@ -963,6 +963,9 @@ const struct custom_format format_transposed = { | |||
963 | 963 | ||
964 | static const struct button_mapping* get_context_map(int context) | 964 | static const struct button_mapping* get_context_map(int context) |
965 | { | 965 | { |
966 | #ifdef HAVE_LOCKED_ACTIONS | ||
967 | context &= ~CONTEXT_LOCKED; | ||
968 | #endif | ||
966 | return pf_contexts[context & ~CONTEXT_PLUGIN]; | 969 | return pf_contexts[context & ~CONTEXT_PLUGIN]; |
967 | } | 970 | } |
968 | 971 | ||