1
0
Fork 0
forked from len0rd/rockbox

puzzles: allow using hints in Fifteen

This maps the select button to the "h" key for Fifteen only.

Change-Id: I7a5a61cec46e86254218fabfb191974f98c12319
This commit is contained in:
Franklin Wei 2017-07-12 12:21:20 -04:00
parent f9198ba35c
commit 84e13d5749

View file

@ -1493,6 +1493,9 @@ static int process_input(int tmo)
break; break;
case BTN_FIRE: case BTN_FIRE:
if(!strcmp("Fifteen", midend_which_game(me)->name))
state = 'h'; /* hint */
else
state = CURSOR_SELECT; state = CURSOR_SELECT;
break; break;