1. SwitchList Area
The SwitchList area stores a Switch node in the scene. SwitchList is mapped as follows.
SwitchListHeader | u32 | switch_list_tag |
---|---|---|
u32 | switch_list_header_size | |
u32 | switch_list_size | |
u32 | switch_num | |
u32 | nintnedo_extension_block_size | |
u32 | user_extension_block_size | |
u32 | switch_num_byte(0) | |
|
||
u32 | switch_num_byte(switch_num - 1) | |
|
||
|
||
|
||
|
||
|
Figure: SwitchList Area Memory Map
u32 switch_list_tag |
Tag indicating SwitchList. Set the following
TAG_SWITCH_LIST 0x00130000 |
u32 switch_list_header_size | Size of SwitchListHeader |
u32 switch_list_size | Size of this SwitchList |
u32 switch_num | Total number of Switch in this SwitchList |
u32 nintendo_extension_block_size | Nintendo extension block size |
u32 user_extension_block_size | User extension block size |
u32 switch_num_byte | umber of bytes corresponding to Switch |
Switch | Actual switch area |
NintendoExtensionBlock | Nintendo extension block |
UserExtensionBlock | User extension block |