Error Handling [Required]; Write Operation Display [Required] - Nintendo Wii Programming Manuallines

Hide thumbs Also See for Wii:
Table of Contents

Advertisement

8.3 Error Handling [Required]

Always include an error handling routine (including error display) for the Wii system memory.
For details on error handling, refer to "NAND Processing Sequence" in the Revolution Function
Reference manual.
The following table lists the error types used by the NAND library and how to handle them.
Error that applications must support
Errors that applications are expected to support, but support
is not essential
Errors that must be eliminated during development or hidden
from the end user's view
Errors indicating there may be a problem with the library or
errors that could be blamed on Nintendo (errors expected to
be included in a bug report to Nintendo)

8.4 Write Operation Display [Required]

When writing save data larger than 1 MB to the Wii system memory, please display a message or an
icon indicating the data write operation is under way. This is to prevent the user from unintentionally
destroying data by turning off power or resetting in the middle of a write operation to the Wii system
memory.
For example, display "Continue saving. Please do not touch the Power Button or RESET." before
starting the write operation and wait for the user's input.
Also display "Saving in progress. Please do not touch the Power Button or RESET." during the write
operation itself.
It is okay to display the message for a longer time than it actually takes to perform write operations to
make things easier for the user to comprehend.
© 2006 Nintendo
CONFIDENTIAL
Error Handling
Response to NAND_RESULT_BUSY and
NANDCheck[Async]
NAND_RESULT_AUTHENTICATION
NAND_RESULT_CORRUPT
NAND_RESULT_ECC_CRIT
NAND_RESULT_MAXBLOCKS
NAND_RESULT_MAXFILES
NAND_RESULT_ACCESS
NAND_RESULT_EXISTS
NAND_RESULT_INVALID
NAND_RESULT_MAXFD
NAND_RESULT_NOEXISTS
NAND_RESULT_NOTEMPTY
NAND_RESULT_OPENFD
NAND_RESULT_FATAL_ERROR
NAND_RESULT_ALLOC_FAILED
NAND_RESULT_UNKNOWN
41
Wii Programming Guidelines
Error
RVL-06-0132-001-I
Released: October 11, 2006

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents