N64FlashcartMenu
|
64DD disk information More...
Go to the source code of this file.
Data Structures | |
struct | disk_info_t |
Disk Information Structure. More... | |
Enumerations | |
enum | disk_err_t { DISK_OK , DISK_ERR_IO , DISK_ERR_NO_FILE , DISK_ERR_INVALID } |
Disk state enumeration. | |
enum | disk_region_t { DISK_REGION_DEVELOPMENT , DISK_REGION_JAPANESE , DISK_REGION_USA } |
Disk region enumeration. | |
enum | disk_type_t { DISK_TYPE_0 , DISK_TYPE_1 , DISK_TYPE_2 , DISK_TYPE_3 , DISK_TYPE_4 , DISK_TYPE_5 , DISK_TYPE_6 } |
Disk type enumeration. | |
Functions | |
disk_err_t | disk_info_load (path_t *path, disk_info_t *disk_info) |
Loads disk information from the specified path. | |
64DD disk information
struct disk_info_t |
Disk Information Structure.
Data Fields | ||
---|---|---|
disk_region_t | region | |
disk_type_t | disk_type | |
char | id[4] | |
uint8_t | version | |
bool | bad_system_area_lbas[24] | |
uint8_t | defect_tracks[16][12] |
disk_err_t disk_info_load | ( | path_t * | path, |
disk_info_t * | disk_info | ||
) |
Loads disk information from the specified path.
This function reads the disk information from the given path and populates the provided disk_info structure with the relevant data.
path | A pointer to a path_t structure that specifies the path to the disk. |
disk_info | A pointer to a disk_info_t structure where the disk information will be stored. |