summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-08-14 02:35:36 +0200
committerChristian Soffke <christian.soffke@gmail.com>2022-08-16 13:19:11 +0200
commitcf37676fb100fad9a422159d27ff1d3f260f7d60 (patch)
tree193fd184ed98e944bbc02d1738b4b14a8b7ce0a9 /apps
parent7a3d829543f437691ca36278d862f5ddf228f816 (diff)
downloadrockbox-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.c3
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
964static const struct button_mapping* get_context_map(int context) 964static 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