This commit is contained in:
DavidXanatos 2023-04-01 20:23:45 +02:00
parent b3ee1723e8
commit b7a110c88d
3 changed files with 18 additions and 8 deletions

View File

@ -6,6 +6,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [1.8.2b / 5.63.2] - 2023-04-??
### Fixed
- fixed issue with the new SBIE2307 being trigegred on media removal
## [1.8.2 / 5.63.2] - 2023-04-01
### Added

View File

@ -399,7 +399,7 @@ _FX BOOLEAN File_InitDrives(ULONG DriveMask)
ULONG file_drive_len;
ULONG drive;
ULONG path_len;
ULONG drive_count;
//ULONG drive_count;
WCHAR *path;
WCHAR error_str[16];
BOOLEAN CallInitLinks;
@ -449,7 +449,7 @@ _FX BOOLEAN File_InitDrives(ULONG DriveMask)
InitializeObjectAttributes(
&objattrs, &objname, OBJ_CASE_INSENSITIVE, NULL, NULL);
drive_count = 0;
//drive_count = 0;
for (drive = 0; drive < 26; ++drive) {
@ -642,7 +642,7 @@ _FX BOOLEAN File_InitDrives(ULONG DriveMask)
}
File_Drives[drive] = file_drive;
drive_count++;
//drive_count++;
SbieApi_MonitorPut(MONITOR_DRIVE, path);
}
@ -664,10 +664,10 @@ _FX BOOLEAN File_InitDrives(ULONG DriveMask)
}
}
if (drive_count == 0) {
Sbie_snwprintf(error_str, 16, L"No Drives Found");
SbieApi_Log(2307, error_str);
}
//if (drive_count == 0) {
// Sbie_snwprintf(error_str, 16, L"No Drives Found");
// SbieApi_Log(2307, error_str);
//}
//
// initialize list of volumes mounted to directories rather than drives

View File

@ -3,7 +3,7 @@
#define VERSION_MJR 1
#define VERSION_MIN 8
#define VERSION_REV 2
#define VERSION_UPD 0
#define VERSION_UPD 1
#ifndef STR
#define STR2(X) #X