summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-06-13 08:37:56 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2015-06-13 08:37:56 -0500
commit7c4e6c7eb993518a9d9075b1ee360c7b51786956 (patch)
tree38e2f86f555058c4d0ba6c2280ea77b418970725 /Source/Android/app/src/main/java
parent4042945ee57dcaede8488e6546b8a987ca597998 (diff)
[Android] Make sure we are setting the default user directory.
This fixes an issue where the settings aren't being saved correctly because the user directory is never set before a run of the game.
Diffstat (limited to 'Source/Android/app/src/main/java')
-rw-r--r--Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/GameGridActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/GameGridActivity.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/GameGridActivity.java
index cbb4ab8058..d431f6c981 100644
--- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/GameGridActivity.java
+++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/GameGridActivity.java
@@ -83,6 +83,8 @@ public final class GameGridActivity extends Activity implements LoaderManager.Lo
// Stuff in this block only happens when this activity is newly created (i.e. not a rotation)
if (savedInstanceState == null)
{
+ NativeLibrary.SetUserDirectory(""); // Auto-Detect
+
SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);
boolean assetsCopied = preferences.getBoolean("assetsCopied", false);