op_test_inputs: minor validation adjustments
[pandora-misc.git] / op_test_inputs.c
index ec5fd8b..130dadf 100644 (file)
@@ -500,7 +500,7 @@ int main(int argc, char *argv[])
 #ifdef VALIDATION
        int early_leave_attempt = 0;
        text_out16_small(screen, 220, 3, 0x7bef,
-                        "press menu/pandora to shutdown, L+Start to exit");
+                        "press menu/pandora to exit");
 #else
        text_out16_small(screen, 320, 3, 0x7bef, "Press L+R to exit");
 #endif
@@ -590,6 +590,7 @@ int main(int argc, char *argv[])
                                        pressed_r = !!ev[i].value;
 #ifdef VALIDATION
                                if (ev[i].code == KEY_LEFTALT && !!ev[i].value && pressed_l) {
+                                       // L+Start, legacy code
                                        if (nub_range_hit == 0xff && all_btns_tested && lid_tested && ts_tested)
                                                goto end;
                                        if (pressed_l && pressed_r)
@@ -600,7 +601,7 @@ int main(int argc, char *argv[])
                                        if ((nub_range_hit == 0xff && all_btns_tested && lid_tested && ts_tested) ||
                                            (pressed_l && pressed_r)) {
                                                sync();
-                                               system("poweroff -f");
+                                               //system("poweroff -f");
                                                goto end;
                                        }
                                        early_leave_attempt = 1;