no more 'scrolling by device rotation' option in the menu if not supported

This commit is contained in:
Zeno Rogue 2019-03-30 17:46:16 +01:00
parent 2b61413a81
commit bd20208fe0
1 changed files with 4 additions and 0 deletions

View File

@ -1057,7 +1057,9 @@ void showBasicConfig() {
dialog::addBoolItem(XLAT("forget faraway cells"), memory_saving_mode, 'y');
#if CAP_ORIENTATION
dialog::addSelItem(XLAT("scrolling by device rotation"), ors::choices[ors::mode], '1');
#endif
if(CAP_SHMUP && !ISMOBILE)
dialog::addSelItem(XLAT("configure keys/joysticks"), "", 'p');
@ -1076,7 +1078,9 @@ void showBasicConfig() {
if(uni >= 32 && uni < 64) xuni = uni;
#if CAP_ORIENTATION
if(xuni == '1') pushScreen(ors::show);
#endif
if(uni == 'M') vid.quickmouse = !vid.quickmouse;
else if(xuni == 'm') vid.skipstart = !vid.skipstart;