DD floppy drives now correctly ignore DENSEL when reading DD floppies;

Ne2000 now uses the correct vendor ID for the MAC address, per information from waltje;
File name text box in Add hard disk dialog is now correctly disabled;
Floppy drive types are now stored as readable string in the configuration file.
This commit is contained in:
OBattler
2017-05-05 04:32:05 +02:00
parent ceff764e9e
commit b024f174a3
8 changed files with 43 additions and 9 deletions

View File

@@ -724,6 +724,10 @@ int d86f_wrong_densel(int drive)
{
case 0:
default:
if (fdd_is_dd(drive))
{
return 0;
}
if (fdd_get_densel(drive))
{
return 1;
@@ -734,6 +738,10 @@ int d86f_wrong_densel(int drive)
}
break;
case 1:
if (fdd_is_dd(drive))
{
return 1;
}
if (fdd_get_densel(drive))
{
return 0;
@@ -751,6 +759,10 @@ int d86f_wrong_densel(int drive)
}
break;
case 2:
if (fdd_is_dd(drive) || !fdd_is_ed(drive))
{
return 1;
}
if (fdd_get_densel(drive))
{
return 0;