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 | |
parent | 7a3d829543f437691ca36278d862f5ddf228f816 (diff) | |
download | rockbox-cf37676fb1.tar.gz rockbox-cf37676fb1.zip |
pictureflow: fix FS#13360 softlock cannot be disabled
Change-Id: Id34cc737f9d43a5cbaf5519a6f05ca31efbee8f2
-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 = { static const struct button_mapping* get_context_map(int context) { +#ifdef HAVE_LOCKED_ACTIONS + context &= ~CONTEXT_LOCKED; +#endif return pf_contexts[context & ~CONTEXT_PLUGIN]; } |