Added ability to disable floppy image BPB checking per drive, enabled by default.
This commit is contained in:
12
src/fdd.c
12
src/fdd.c
@@ -32,6 +32,8 @@ static struct
|
||||
int head;
|
||||
|
||||
int turbo;
|
||||
|
||||
int check_bpb;
|
||||
} fdd[FDD_NUM];
|
||||
|
||||
/* Flags:
|
||||
@@ -329,6 +331,16 @@ int fdd_get_turbo(int drive)
|
||||
return fdd[drive].turbo;
|
||||
}
|
||||
|
||||
void fdd_set_check_bpb(int drive, int check_bpb)
|
||||
{
|
||||
fdd[drive].check_bpb = check_bpb;
|
||||
}
|
||||
|
||||
int fdd_get_check_bpb(int drive)
|
||||
{
|
||||
return fdd[drive].check_bpb;
|
||||
}
|
||||
|
||||
int fdd_get_densel(int drive)
|
||||
{
|
||||
if (drive_types[fdd[drive].type].flags & FLAG_INVERT_DENSEL)
|
||||
|
||||
Reference in New Issue
Block a user