summaryrefslogtreecommitdiff
path: root/Source/Android/src
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-02-25 03:23:42 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2015-02-25 03:31:59 -0600
commitdb06f058e4f2ae19a74806aaf28c8e2dc94ac79f (patch)
treee5deb7951b5d498a519ce5003905a0db4ce0f391 /Source/Android/src
parent792e166f87a2483dc33771fae4fcfd2a6ac29bab (diff)
Move user directory detection location to UICommon.
The UI should decide on where it wants the user directory, not our core system. This is in anticipation of some upcoming work on Android which will need proper user directory setting.
Diffstat (limited to 'Source/Android/src')
-rw-r--r--Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java b/Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java
index 027d476095..91b29e4410 100644
--- a/Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java
+++ b/Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java
@@ -170,6 +170,12 @@ public final class NativeLibrary
public static native void CreateUserFolders();
/**
+ * Sets the current working user directory
+ * If not set, it auto-detects a location
+ */
+ public static native void SetUserDirectory(String directory);
+
+ /**
* Begins emulation.
*
* @param surf The surface to render to.