mirror of
https://github.com/Maschell/fuse-wiiu.git
synced 2024-11-22 06:39:14 +01:00
Fix titles which have just a title.tmd and no tmd.[version]
This commit is contained in:
parent
623b8a6c9d
commit
385ddb3bdc
@ -29,14 +29,7 @@ public class FuseContainerWrapper {
|
||||
|
||||
Map<String, FuseContainer> result = new HashMap<>();
|
||||
if (c.exists() && c.isDirectory()) {
|
||||
File[] tmd = c.listFiles(f -> f.isFile() && f.getName().startsWith("tmd."));
|
||||
if (tmd != null && tmd.length > 0) {
|
||||
result.put(prefix + c.getName(), new RemoteLocalBackupNUSTitleContainer(parent, c));
|
||||
return result;
|
||||
}
|
||||
}
|
||||
if (c.exists() && c.isDirectory()) {
|
||||
File[] tmd = c.listFiles(f -> f.isFile() && f.getName().equals("title.tmd"));
|
||||
File[] tmd = c.listFiles(f -> f.isFile() && (f.getName().startsWith("tmd.") || f.getName().startsWith("title.tmd")));
|
||||
if (tmd != null && tmd.length > 0) {
|
||||
// In case there is a tmd file
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user