Shinobi Library - Memory Card Structure

BUS_DISKINFO

Structure where memory card information is stored

DEFINITION

typedef struct { 
 Sint8 volume[32]; 
 Uint16 total_blocks; 
 Uint16 total_user_blocks;  
 Uint16 free_blocks;  
 Uint16 free_user_blocks 
 Uint16 total_exe_blocks;  
 Uint16 free_exe_blocks 
 Uint16 block_size;  
 Uint16 icon_no;  
 BUS_TIME time;  
} BUS_DISKINFO 

MEMBER

 volume  Volume data 
 total_blocks  Total blocks 
 total_user_blocks  Total user blocks (maximum file number) 
 free_blocks  Free blocks 
 free_user_blocks  Free user blocks 
 total_exe_blocks  Total blocks for all executable files  
 free_exe_blocks  Free blocks for executable files  
 block_size  Block size (512 fixed) 
 icon_no  Icon number (0-255)  
 time  formatted time 

DESCRIPTION

Structure where memory card information is stored.

REFERENCE

buGetDiskInfo()

BUS_DISKINFO
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999