[core] fix write error when using non sector aligned DD images

* Closes #410
This commit is contained in:
Pete Batard 2014-12-03 21:28:24 +00:00
parent efd22d1fe3
commit ea28080e0a
3 changed files with 27 additions and 19 deletions

View file

@ -61,7 +61,7 @@
#define UDF_FORMAT_WARN 20 // Duration (in seconds) above which we warn about long UDF formatting times
#define MAX_FAT32_SIZE 2.0f // Threshold above which we disable FAT32 formatting (in TB)
#define FAT32_CLUSTER_THRESHOLD 1.011f // For FAT32, cluster size changes don't occur at power of 2 boundaries but sligthly above
#define DD_BUFFER_SIZE 65536 // Size of the buffer we use for DD operations
#define DD_BUFFER_SIZE 65536 // Minimum size of the buffer we use for DD operations
#define WHITE RGB(255,255,255)
#define SEPARATOR_GREY RGB(223,223,223)
#define RUFUS_URL "http://rufus.akeo.ie"