Add safety checks for low SD card space (#90)

* Some attempt.

* Enable some-safety-freespace-work nightlies

* Upload elf with nightly

* *Derp fixes.*

* Bye Bye testing things.

* Revert "Upload elf with nightly"

This reverts commit 303968cd78e466a3fcc010915565d8265acaa76a.

* Add safety checks to fcopy

Co-authored-by: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com>
This commit is contained in:
Pk11 2021-05-26 05:47:51 -05:00 committed by GitHub
commit baa14561eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 145 additions and 105 deletions

View file

@ -196,10 +196,6 @@ Result Init::MainLoop() {
if (!exiting) Gui::ScreenLogic(hDown, hHeld, touch, true, false);
if (aptCheckHomePressRejected()) {
if (Msg::promptMsg(Lang::get("FEATURE_SIDE_EFFECTS"))) aptSetHomeAllowed(true);
};
if (exiting) {
if (hDown & KEY_START) fullExit = true; // Make it optionally faster.