# NA_SaveSubBanner

## Syntax

      #include <twl/na.h>

      BOOL NA_SaveSubBanner( const NASubBanner *banner );

## Arguments

banner | Pointer to the buffer with the sub-banner to set.

## Return Values

Returns `TRUE` if processing completed successfully.
The following are possible reasons for the function to fail.

- The `crc16_anime` member in banner is illegal.
- The `anime` member in banner is illegal.
- The application is not a NAND application.
- The application has not declared the sub-banner specifications.
- There are no available file handles because they are all in use.
- It is running on the Nintendo DS.

## Description

Replaces the sub-banner with the specified sub-banner data so that the launcher displays the sub-banner.

This function is exclusive to NAND applications. It cannot be used by card applications.

The DEBUG version outputs a warning message if the `anime` member in banner is illegal. See `NASubBanner` and the information that is output to make revisions.

## See Also

`NA_LoadSubBanner`
`NASubBanner`

## Revision History

2008/11/04 Added information on animation errors.
2008/09/16 Initial version.

CONFIDENTIAL