Add VHD hard disc image support. Patch from shermanp.
This commit is contained in:
parent
d1021b5b6b
commit
602d6f1ce6
31 changed files with 6559 additions and 1073 deletions
|
|
@ -1,11 +1,18 @@
|
|||
typedef enum hdd_img_type
|
||||
{
|
||||
HDD_IMG_RAW,
|
||||
HDD_IMG_VHD,
|
||||
} hdd_img_type;
|
||||
|
||||
typedef struct hdd_file_t
|
||||
{
|
||||
FILE *f;
|
||||
void *f;
|
||||
int spt;
|
||||
int hpc;
|
||||
int tracks;
|
||||
int sectors;
|
||||
int read_only;
|
||||
hdd_img_type img_type;
|
||||
} hdd_file_t;
|
||||
|
||||
void hdd_load(hdd_file_t *hdd, int d, const char *fn);
|
||||
|
|
|
|||
Loading…
Reference in a new issue