[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:
Pete Batard 2020-04-10 13:16:57 +01:00
parent 1e6e38b180
commit 2442aaf76f
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
7 changed files with 39 additions and 20 deletions

View file

@ -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
/*