#include <revolution/os/OSLog.h> s32 OSReportFlush( void );
None.
Returns 0 if successful or one of the following codes if unsuccessful.
NAND_RESULT_ACCESS
NAND_RESULT_ALLOC_FAILED
NAND_RESULT_BUSY
NAND_RESULT_CORRUPT
NAND_RESULT_EXISTS
NAND_RESULT_INVALID
NAND_RESULT_MAXFILES
NAND_RESULT_NOEXISTS
NAND_RESULT_UNKNOWN
NAND_RESULT_FATAL_ERROR
If OSReport is called while the output destination for OSReport is set to Wii console NAND memory, the string is temporarily stored in a buffer in main memory of the Wii console without writing it directly to Wii console NAND memory.
OSReportFlush must be called to write this string correctly to Wii console NAND memory.
Note:The oslog library is linked when using OSReportFlush. Memory for writing to NAND must be allocated using OSReportViewer.
Before you use OSReportFlush, we recommend that you take a look at OSLog Overview first.
OSLog Overview
Function for Saving Debug Output
OSReportDestination
OSReport
2008/11/19 Initial version.
CONFIDENTIAL