Skip to content

Instantly share code, notes, and snippets.

@fennectech
Created October 10, 2019 04:52
Show Gist options
  • Select an option

  • Save fennectech/31f92c48e60f439714b67d3a822c9061 to your computer and use it in GitHub Desktop.

Select an option

Save fennectech/31f92c48e60f439714b67d3a822c9061 to your computer and use it in GitHub Desktop.

Revisions

  1. fennectech created this gist Oct 10, 2019.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    if (!ConfigManager::getReceivedExFATWarning()) {
    _restartAlertView = new AlertView("Are you sure?", "Restarting while using an ExFAT formatted SD card\nwill cause it to corrupt. It is recommended that if\nyou have an ExFAT formatted SD card to quit,\npress the home button, and restart the switch.", buttons);
    _restartAlertView->onDismiss = bind(&PackageDownloadScene::_onAlertViewDismiss, this, _1, _2);
    }

    if (ConfigManager::getReceivedExFATWarning()) {
    bind(&PackageDownloadScene::_onAlertViewDismiss, this, _1, _2);
    }