forked from len0rd/rockbox
pictureflow: fix FS#13360 softlock cannot be disabled
Change-Id: Id34cc737f9d43a5cbaf5519a6f05ca31efbee8f2
This commit is contained in:
parent
7a3d829543
commit
cf37676fb1
1 changed files with 3 additions and 0 deletions
|
|
@ -963,6 +963,9 @@ const struct custom_format format_transposed = {
|
||||||
|
|
||||||
static const struct button_mapping* get_context_map(int context)
|
static const struct button_mapping* get_context_map(int context)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_LOCKED_ACTIONS
|
||||||
|
context &= ~CONTEXT_LOCKED;
|
||||||
|
#endif
|
||||||
return pf_contexts[context & ~CONTEXT_PLUGIN];
|
return pf_contexts[context & ~CONTEXT_PLUGIN];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue