]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Directory filesystem ACTION_INFO returns DOS\1 if >v36.
authorToni Wilen <twilen@winuae.net>
Sun, 8 Apr 2018 14:20:36 +0000 (17:20 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 8 Apr 2018 14:20:36 +0000 (17:20 +0300)
filesys.cpp

index cce3f7d22f686d57f2d440d7506f1cf530e55412..3e93624e85f248eb8473b21793e1f45c045f3fd0 100644 (file)
@@ -3391,7 +3391,7 @@ static void       do_info(TrapContext *ctx, Unit *unit, dpacket *packet, uaecptr info,
                put_long_host(buf + 12, (uae_u32)numblocks); /* numblocks */
                put_long_host(buf + 16, (uae_u32)inuse); /* inuse */
                put_long_host(buf + 20, blocksize); /* bytesperblock */
-               put_long_host(buf + 24, dostype); /* disk type */
+               put_long_host(buf + 24, dostype == DISK_TYPE_DOS && kickstart_version >= 36 ? DISK_TYPE_DOS_FFS : dostype); /* disk type */
                put_long_host(buf + 28, unit->volume >> 2); /* volume node */
                put_long_host(buf + 32, (get_long(unit->volume + 28) || unit->keys) ? -1 : 0); /* inuse */
        }