forked from len0rd/rockbox
dbtool: Fix build when we have HOTSWAP but not MULTIVOLUME
(Not sure how that can happen, but... eh) Change-Id: I7754f1678698e8781df76c2f88bdf12cc43a5e0e
This commit is contained in:
parent
e5d4e33403
commit
8f8fb13edb
1 changed files with 2 additions and 2 deletions
|
|
@ -205,14 +205,14 @@ void sim_ext_extracted(int drive)
|
|||
for (unsigned int i = 0; i < MAX_OPEN_FILES; i++)
|
||||
{
|
||||
struct filestr_desc *filestr = &openfiles[i];
|
||||
if (filestr->osfd >= 0 && IF_MV(volume_drive(filestr->volume) == drive))
|
||||
if (filestr->osfd >= 0 IF_MV(&& volume_drive(filestr->volume) == drive))
|
||||
filestr->mounted = false;
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < MAX_OPEN_DIRS; i++)
|
||||
{
|
||||
struct dirstr_desc *dirstr = &opendirs[i];
|
||||
if (dirstr->osdirp && IF_MV(volume_drive(dirstr->volume) == drive))
|
||||
if (dirstr->osdirp IF_MV(&& volume_drive(dirstr->volume) == drive))
|
||||
dirstr->mounted = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue