mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-31 06:48:26 -04:00
[dev] improve FIXED vs REMOVABLE detection for drives with unmounted partitions
* And add an exception for a reported flash drive * Also fix a couple warnings in msapi_utf8.h and net.c
This commit is contained in:
parent
1e6e38b180
commit
2442aaf76f
7 changed files with 39 additions and 20 deletions
|
@ -418,9 +418,9 @@ BOOL GetOpticalMedia(IMG_SAVE* img_save)
|
|||
/* For debugging user reports of HDDs vs UFDs */
|
||||
//#define FORCED_DEVICE
|
||||
#ifdef FORCED_DEVICE
|
||||
#define FORCED_VID 0x05AC
|
||||
#define FORCED_PID 0x8406
|
||||
#define FORCED_NAME "APPLE SD Card Reader USB Device"
|
||||
#define FORCED_VID 0x6557
|
||||
#define FORCED_PID 0x0021
|
||||
#define FORCED_NAME "USB DISK 2.0 USB Device"
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue