Skip to content

Commit

Permalink
haiku: CD-ROM detection should report any mounted volume on a B_CD de…
Browse files Browse the repository at this point in the history
…vice.

Most discs only use the "raw" device, but it turns out the Haiku installation
"anyboot" images don't, and those would fail to detect here. If there's
some multi-partition disc thing and the OS mounted each separately, we should
report each of them.
  • Loading branch information
icculus committed Aug 10, 2017
1 parent 0e778b0 commit 1efdb62
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/physfs_platform_haiku.cpp
Expand Up @@ -105,9 +105,6 @@ static void tryDir(const char *d, PHYSFS_StringCallback callback, void *data)
continue;
} /* if */

if (strcmp(e.name, "raw") != 0) /* ignore partitions. */
continue;

const int devfd = open(name, O_RDONLY);
if (devfd < 0)
continue;
Expand Down

0 comments on commit 1efdb62

Please sign in to comment.