Fixed two compile-breaking errors.

This commit is contained in:
OBattler
2016-10-04 18:02:15 +02:00
parent 6ac2526dbb
commit 8f9bbb3679
3 changed files with 4 additions and 2 deletions

View File

@@ -372,12 +372,12 @@ int imd_track_is_xdf(int drive, int side, int track)
}
if ((effective_sectors == 3) && (xdf_sectors == 3))
{
td0[drive].current_side_flags[side] = 0x28;
imd[drive].current_side_flags[side] = 0x28;
return 1; /* 5.25" 2HD XDF */
}
if ((effective_sectors == 4) && (xdf_sectors == 4))
{
td0[drive].current_side_flags[side] = 0x08;
imd[drive].current_side_flags[side] = 0x08;
return 2; /* 3.5" 2HD XDF */
}
return 0;