mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-22 10:55:19 -04:00
[misc] fix FAT32 cluster boundaries and add cheat mode to force DD
* Closes #310 * Alt-I can now be used to disable ISO support. This is meant to be used for dual ISO/DD images so that DD (disk image) mode will be used * Also issue a message in the log to indicate whether slow or quick format is used * Also change the cheat mode keys for force update and proper unit to C and U
This commit is contained in:
parent
1c8f57a4e7
commit
f78eb4de99
6 changed files with 40 additions and 25 deletions
|
@ -58,6 +58,7 @@
|
|||
#define UDF_FORMAT_SPEED 3.1f // Speed estimate at which we expect UDF drives to be formatted (GB/s)
|
||||
#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 WHITE RGB(255,255,255)
|
||||
#define SEPARATOR_GREY RGB(223,223,223)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue