Implement pausing
[neverball] / ball / st_play.c
index 59077bb..ad09915 100644 (file)
@@ -426,6 +426,8 @@ static void maemo_play_loop_click(int b, int d)
     }
     else
     {
+        if (button_pressed && !dragging)
+            goto_state(&st_pause);
         VIEWR_SET_R(0);
         VIEWR_SET_L(0);
     }