mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
If BPB could not be retrieved in Atari ST assume we're using 512 bytes per sector.
This commit is contained in:
@@ -47,7 +47,8 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
|
|||||||
|
|
||||||
if(bpb == NULL)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user