

#include <nitro/os.h>void OS_FPanic( int console, const char *fmt, ... );
| console | Output window. |
| fmt | Output format string. |
| ... | Variable number of arguments. |
None.
This is a version of OS_Panic() that allows the output window to be specified. All behavior other than designating the output destination is based on the specification for OS_Panic(), so be sure to refer to that page.
console is used to specify the output destination and can take values from 0 to 3, indicating the window number. Specify OS_PRINT_OUTPUT_NONE to output nothing. Specifying OS_PRINT_OUTPUT_CURRENT will output to the error output destination that was specified using OS_SetPrintOutput().
This function is used for debugging. It does not perform any output in FINALROM versions of the library.
OS_FPanic() is actually a #define of OSi_FPanic(). OSi_FPanic() is compiled with weak symbols. Therefore you can overwrite them with your own function definitions.
2008/01/12 Initial version.
CONFIDENTIAL