mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:43:09 +00:00
[SETUPLIB][USETUP] Move the floppy-disk accessibility check into InstallFatBootcodeToFloppy().
svn path=/branches/setup_improvements/; revision=75751
This commit is contained in:
parent
aab937715b
commit
9d93100afc
2 changed files with 12 additions and 11 deletions
|
@ -2303,7 +2303,11 @@ InstallFatBootcodeToFloppy(
|
|||
WCHAR SrcPath[MAX_PATH];
|
||||
WCHAR DstPath[MAX_PATH];
|
||||
|
||||
/* Format the floppy first */
|
||||
/* Verify that the floppy disk is accessible */
|
||||
if (DoesDirExist(NULL, FloppyDevice.Buffer) == FALSE)
|
||||
return STATUS_DEVICE_NOT_READY;
|
||||
|
||||
/* Format the floppy disk */
|
||||
FatFS = GetFileSystemByName(L"FAT");
|
||||
if (!FatFS)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue