[core] add listing exception for Apple SD card readers

* Also fix a Coverity warning
This commit is contained in:
Pete Batard 2019-04-05 22:02:36 +01:00
parent f02fbe3acc
commit 5dbf537dfb
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
4 changed files with 19 additions and 9 deletions

View file

@ -310,9 +310,9 @@ BOOL GetOpticalMedia(IMG_SAVE* img_save)
/* For debugging user reports of HDDs vs UFDs */
//#define FORCED_DEVICE
#ifdef FORCED_DEVICE
#define FORCED_VID 0x067B
#define FORCED_PID 0x2733
#define FORCED_NAME "EAGET Mass Storage USB Device"
#define FORCED_VID 0x05AC
#define FORCED_PID 0x8406
#define FORCED_NAME "APPLE SD Card Reader USB Device"
#endif
/*