aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/android/org/scummvm/scummvm/ScummVM.java2
-rw-r--r--backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java7
2 files changed, 9 insertions, 0 deletions
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVM.java b/backends/platform/android/org/scummvm/scummvm/ScummVM.java
index 8dd974bbb8..ea7bf5242d 100644
--- a/backends/platform/android/org/scummvm/scummvm/ScummVM.java
+++ b/backends/platform/android/org/scummvm/scummvm/ScummVM.java
@@ -16,6 +16,7 @@ import javax.microedition.khronos.egl.EGLSurface;
import java.io.File;
import java.util.LinkedHashMap;
+import java.util.List;
public abstract class ScummVM implements SurfaceHolder.Callback, Runnable {
final protected static String LOG_TAG = "ScummVM";
@@ -62,6 +63,7 @@ public abstract class ScummVM implements SurfaceHolder.Callback, Runnable {
abstract protected void showVirtualKeyboard(boolean enable);
abstract protected void showKeyboardControl(boolean enable);
abstract protected String[] getSysArchives();
+ abstract protected List<String> getAllStorageLocations();
public ScummVM(AssetManager asset_manager, SurfaceHolder holder) {
_asset_manager = asset_manager;
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
index f353ceab27..a955f02327 100644
--- a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
+++ b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
@@ -24,6 +24,7 @@ import android.widget.ImageView;
import android.widget.Toast;
import java.io.File;
+import java.util.List;
public class ScummVMActivity extends Activity {
@@ -155,12 +156,18 @@ public class ScummVMActivity extends Activity {
return new String[0];
}
+ @Override
+ protected List<String> getAllStorageLocations() {
+ return _externalStorage.getAllStorageLocations();
+ }
+
}
private MyScummVM _scummvm;
private ScummVMEvents _events;
private MouseHelper _mouseHelper;
private Thread _scummvm_thread;
+ private ExternalStorage _externalStorage;
@Override
public void onCreate(Bundle savedInstanceState) {