Prechádzať zdrojové kódy

Remove the issue #80 warning from logs.

The users affected by this will probably have seen it already.
If not, it can be diagnosed by log message of "Host attempted ..
exceeding image size".

Still keep the UseFATAllocSize config option.
Petteri Aimonen 2 rokov pred
rodič
commit
7bff4d4ec1
1 zmenil súbory, kde vykonal 3 pridanie a 4 odobranie
  1. 3 4
      src/ZuluSCSI_disk.cpp

+ 3 - 4
src/ZuluSCSI_disk.cpp

@@ -365,10 +365,9 @@ public:
                 if (end != begin + sectorcount)
                 {
                     uint32_t allocsize = end - begin + 1;
-                    azlog("---- NOTE: File ", filename, " has FAT allocated size of ", (int)allocsize, " sectors and file size of ", (int)sectorcount, " sectors");
-                    azlog("---- Due to issue #80 in ZuluSCSI version 1.0.8 and 1.0.9 the allocated size was mistakenly reported to SCSI controller.");
-                    azlog("---- If the drive was formatted using those versions, you may have problems accessing it with newer firmware.");
-                    azlog("---- The old behavior can be restored with setting  [SCSI] UseFATAllocSize = 1 in " CONFIGFILE);
+                    // Due to issue #80 in ZuluSCSI version 1.0.8 and 1.0.9 the allocated size was mistakenly reported to SCSI controller.
+                    // If the drive was formatted using those versions, you may have problems accessing it with newer firmware.
+                    // The old behavior can be restored with setting  [SCSI] UseFATAllocSize = 1 in config file.
 
                     if (ini_getbool("SCSI", "UseFATAllocSize", 0, CONFIGFILE))
                     {