Skip to content

Instantly share code, notes, and snippets.

@PumpkinPaul
Last active October 22, 2018 11:19
Show Gist options
  • Save PumpkinPaul/719479da425a40aa922a5179d60e7864 to your computer and use it in GitHub Desktop.
Save PumpkinPaul/719479da425a40aa922a5179d60e7864 to your computer and use it in GitHub Desktop.
//0080: Processing during writes
//Applications that write to save data must do at least one of the following:
//(A) If notified of an exit request while in the middle of writing data, finish writing the data before closing.
//(B) Display some on-screen indication while writing data.
I chose to implement option (A)
//UPDATE 22/10/2018
//Just wrap your save code in nn::oe::EnterExitRequestHandlingSection(); / nn::oe::LeaveExitRequestHandlingSection(); blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment