86F track flags handler now gets correct floppy drive type flags.
This commit is contained in:
@@ -247,7 +247,7 @@ uint8_t d86f_track_flags(int drive)
|
||||
{
|
||||
uint8_t tf = d86f[drive].track_flags;
|
||||
uint8_t rr = tf & 0x27;
|
||||
uint8_t dr = fdd_get_type(drive) & 7;
|
||||
uint8_t dr = fdd_get_flags(drive) & 7;
|
||||
tf &= ~0x27;
|
||||
|
||||
switch (rr)
|
||||
|
@@ -177,6 +177,11 @@ int fdd_get_type(int drive)
|
||||
return fdd[drive].type;
|
||||
}
|
||||
|
||||
int fdd_get_flags(int drive)
|
||||
{
|
||||
return drive_types[fdd[drive].type].flags;
|
||||
}
|
||||
|
||||
int fdd_is_525(int drive)
|
||||
{
|
||||
return drive_types[fdd[drive].type].flags & FLAG_525;
|
||||
|
Reference in New Issue
Block a user