Skip to content

Commit

Permalink
[dev] add exception for Intenso Speed Line flash drives
Browse files Browse the repository at this point in the history
* This flash drive seems to declare itself as FIXED which resulted in a +1 score
  • Loading branch information
pbatard committed Jun 3, 2016
1 parent 07497fc commit 2e530d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ static __inline BOOL IsRemovable(const char* buffer)
/* For debugging user reports of HDDs vs UFDs */
//#define FORCED_DEVICE
#ifdef FORCED_DEVICE
#define FORCED_VID 0x0BC2
#define FORCED_PID 0x3312
#define FORCED_NAME "Innostor Innostor USB Device"
#define FORCED_VID 0x1F75
#define FORCED_PID 0x0917
#define FORCED_NAME "Intenso Speed Line USB Device"
#endif

/*
Expand Down
2 changes: 2 additions & 0 deletions src/hdd_vs_ufd.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,6 @@ static vidpid_score_t vidpid_score[] = {
{ 0x18a5, 0x0302, -20 },
{ 0x18a5, 0x0304, -20 },
{ 0x18a5, 0x3327, -20 },
// More Innostor
{ 0x1f75, 0x0917, -10 }, // Intenso Speed Line USB Device
};
10 changes: 5 additions & 5 deletions src/rufus.rc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 242, 376
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Rufus 2.10.946"
CAPTION "Rufus 2.10.947"
FONT 8, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
Expand Down Expand Up @@ -320,8 +320,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,10,946,0
PRODUCTVERSION 2,10,946,0
FILEVERSION 2,10,947,0
PRODUCTVERSION 2,10,947,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -338,13 +338,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "2.10.946"
VALUE "FileVersion", "2.10.947"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "� 2011-2016 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "2.10.946"
VALUE "ProductVersion", "2.10.947"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 2e530d5

Please sign in to comment.