added sav and bin files to cloud sync
This commit is contained in:
parent
7611030f81
commit
e91892f552
|
@ -0,0 +1,2 @@
|
||||||
|
/cloudControllerInstances/
|
||||||
|
/application/
|
Binary file not shown.
Binary file not shown.
|
@ -154,7 +154,7 @@ public class MainWindowController {
|
||||||
private String selectedGameTitle;
|
private String selectedGameTitle;
|
||||||
private String color;
|
private String color;
|
||||||
private String version = "0.1.5";
|
private String version = "0.1.5";
|
||||||
private String buildNumber = "017";
|
private String buildNumber = "019";
|
||||||
private String versionName = "Gusty Garden";
|
private String versionName = "Gusty Garden";
|
||||||
private int xPos = -200;
|
private int xPos = -200;
|
||||||
private int yPos = 17;
|
private int yPos = 17;
|
||||||
|
|
|
@ -186,10 +186,10 @@ public class GoogleDriveController {
|
||||||
//reading all local savegames
|
//reading all local savegames
|
||||||
private void getLocalSavegames() throws IOException {
|
private void getLocalSavegames() throws IOException {
|
||||||
java.io.File dir = new java.io.File(cemuDirectory+"/mlc01/emulatorSave");
|
java.io.File dir = new java.io.File(cemuDirectory+"/mlc01/emulatorSave");
|
||||||
String[] extensions = new String[] { "dat" };
|
String[] extensions = new String[] { "dat","sav","bin" };
|
||||||
localSavegames.removeAll(localSavegames);
|
localSavegames.removeAll(localSavegames);
|
||||||
localSavegamesName.removeAll(localSavegamesName);
|
localSavegamesName.removeAll(localSavegamesName);
|
||||||
System.out.println("Getting all .dat files in " + dir.getCanonicalPath()+" including those in subdirectories");
|
System.out.println("Getting all dat,sav,bin files in " + dir.getCanonicalPath()+" including those in subdirectories");
|
||||||
List<java.io.File> files = (List<java.io.File>) FileUtils.listFiles(dir, extensions, true);
|
List<java.io.File> files = (List<java.io.File>) FileUtils.listFiles(dir, extensions, true);
|
||||||
for (java.io.File file : files) {
|
for (java.io.File file : files) {
|
||||||
localSavegamesName.add(file.getParentFile().getName()+"_"+file.getName());
|
localSavegamesName.add(file.getParentFile().getName()+"_"+file.getName());
|
||||||
|
|
Loading…
Reference in New Issue