Skip to content

Commit

Permalink
Fix conditional mistake that causes FAT driver to see everything not …
Browse files Browse the repository at this point in the history
…FAT32 as FAT32, including floppy disks
  • Loading branch information
joncampbell123 committed Jun 2, 2019
1 parent 69ce4ba commit 9957dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dos/drive_fat.cpp
Expand Up @@ -1220,7 +1220,7 @@ void fatDrive::fatDriveInit(const char *sysFilename, Bit32u bytesector, Bit32u c
}
}

if(!bootbuffer.sectorsperfat == 0) {
if (bootbuffer.sectorsperfat == 0) {
/* FAT32 not implemented yet */
LOG_MSG("FAT32 not implemented yet, mounting image only");
fattype = FAT32; // Avoid parsing dir entries, see fatDrive::FindFirst()...should work for unformatted images as well
Expand Down

0 comments on commit 9957dc1

Please sign in to comment.