Change trick to use LisaOS path separator.

This commit is contained in:
2016-08-01 19:05:06 +01:00
parent bd61a4f060
commit b7f67a71ac
3 changed files with 9 additions and 4 deletions

View File

@@ -94,9 +94,9 @@ namespace DiscImageChef.Filesystems.LisaFS
foreach(CatalogEntry entry in catalogCache)
{
if(entry.parentID == dirId)
// Do same trick as Mac OS X, replace filesystem '/' with ':'
// Maybe as '-' is the path separator in Lisa OS I should do that
contents.Add(GetString(entry.filename).Replace('/', ':'));
// Do same trick as Mac OS X, replace filesystem '/' with '-',
// as '-' is the path separator in Lisa OS
contents.Add(GetString(entry.filename).Replace('/', '-'));
}
return Errno.NoError;