86F track flags handler now gets correct floppy drive type flags.

This commit is contained in:
OBattler
2016-09-04 22:20:32 +02:00
parent 04287af0ee
commit b7f65469b3
3 changed files with 8 additions and 1 deletions

View File

@@ -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)