If BPB could not be retrieved in Atari ST assume we're using 512 bytes per sector.

This commit is contained in:
2021-05-16 21:15:11 +01:00
parent b401b9f637
commit 76aa4384e4

View File

@@ -47,7 +47,8 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
if(bpb == NULL)
{
log_write("Error %d requesting volume information.\n", rc);
log_write("Error requesting volume information, assuming 512 bps.\n");
*clusterSize = 512;
return;
}