mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
[core] don't analyse boot records of deleted partition
* Also revert a472e96e87
as this is creating
unwanted detection issues as per #1239. We'll try to devise a better way
to avoid intempestive refreshes later on.
This commit is contained in:
parent
c0526b3e8b
commit
4cd308a1c0
3 changed files with 6 additions and 15 deletions
|
@ -320,12 +320,6 @@ BOOL GetOpticalMedia(IMG_SAVE* img_save)
|
|||
*/
|
||||
BOOL GetDevices(DWORD devnum)
|
||||
{
|
||||
// Make sure at least one second has elapsed since we last displayed devices
|
||||
static ULONGLONG LastRefresh = 0;
|
||||
if (GetTickCount64() < LastRefresh + 1000)
|
||||
return FALSE;
|
||||
LastRefresh = GetTickCount64();
|
||||
|
||||
// List of USB storage drivers we know - list may be incomplete!
|
||||
const char* usbstor_name[] = {
|
||||
// Standard MS USB storage driver
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue