mirror of
https://github.com/Maschell/fuse-wiiu.git
synced 2024-11-25 07:46:52 +01:00
Use the WumadLoader instead of directly the WumadParser
This commit is contained in:
parent
d82ccdce07
commit
f0413ce055
@ -11,7 +11,6 @@ import de.mas.wiiu.jnus.WumadLoader;
|
||||
import de.mas.wiiu.jnus.fuse_wiiu.Settings;
|
||||
import de.mas.wiiu.jnus.fuse_wiiu.interfaces.FuseDirectory;
|
||||
import de.mas.wiiu.jnus.implementations.wud.wumad.WumadInfo;
|
||||
import de.mas.wiiu.jnus.implementations.wud.wumad.WumadParser;
|
||||
import de.mas.wiiu.jnus.interfaces.FSTDataProvider;
|
||||
|
||||
public class WUMADFuseContainer extends PartitionFuseContainer<WumadInfo> {
|
||||
@ -24,7 +23,7 @@ public class WUMADFuseContainer extends PartitionFuseContainer<WumadInfo> {
|
||||
protected Optional<WumadInfo> loadInfo(File input) {
|
||||
if (input != null && input.exists()) {
|
||||
try {
|
||||
return Optional.of(WumadParser.createWumadInfo(input));
|
||||
return Optional.of(WumadLoader.load(input));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -11,7 +11,6 @@ import de.mas.wiiu.jnus.WumadLoader;
|
||||
import de.mas.wiiu.jnus.fuse_wiiu.Settings;
|
||||
import de.mas.wiiu.jnus.fuse_wiiu.interfaces.FuseDirectory;
|
||||
import de.mas.wiiu.jnus.implementations.wud.wumad.WumadInfo;
|
||||
import de.mas.wiiu.jnus.implementations.wud.wumad.WumadParser;
|
||||
import de.mas.wiiu.jnus.interfaces.FSTDataProvider;
|
||||
|
||||
public class WUMADMountedFuseContainer extends RecursivePartitionFuseContainer<WumadInfo> {
|
||||
@ -24,7 +23,7 @@ public class WUMADMountedFuseContainer extends RecursivePartitionFuseContainer<W
|
||||
protected Optional<WumadInfo> loadInfo(File input) {
|
||||
if (input != null && input.exists()) {
|
||||
try {
|
||||
return Optional.of(WumadParser.createWumadInfo(input));
|
||||
return Optional.of(WumadLoader.load(input));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user