Преглед изворни кода

50k memory requirement (now we can use qFlipper)

jblanked пре 9 месеци
родитељ
комит
dee2058b6d
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      callback/callback.c

+ 2 - 1
callback/callback.c

@@ -1371,7 +1371,8 @@ static void run(FlipWorldApp *app)
         return;
     }
     free_all_views(app, true, true, false);
-    if (!is_enough_heap(60000, false)) // only need to check if they have 60k free
+    // only need to check if they have 50k free (game needs about 38k currently)
+    if (!is_enough_heap(50000, false))
     {
         easy_flipper_dialog("Error", "Not enough heap memory.\nPlease restart your Flipper.");
         return;