[Android] Fixed a bug where the config files might not load correctly upon launch. If the initial files existed, it wouldn't load the configs. This fixes that.

If the files don't exist they will be copied (in the previous block) and everything will be fine.
This commit is contained in:
Lioncash 2013-08-21 16:02:43 -04:00
parent 8b291b6b57
commit ca23318089

View File

@ -126,11 +126,11 @@ public final class DolphinEmulator<MainActivity> extends Activity
CopyAsset("setting-jpn.txt", WiiDir + File.separator + "setting-jpn.txt"); CopyAsset("setting-jpn.txt", WiiDir + File.separator + "setting-jpn.txt");
CopyAsset("setting-kor.txt", WiiDir + File.separator + "setting-kor.txt"); CopyAsset("setting-kor.txt", WiiDir + File.separator + "setting-kor.txt");
CopyAsset("setting-usa.txt", WiiDir + File.separator + "setting-usa.txt"); CopyAsset("setting-usa.txt", WiiDir + File.separator + "setting-usa.txt");
}
UserPreferences.LoadDolphinConfigToPrefs(this); UserPreferences.LoadDolphinConfigToPrefs(this);
} }
} }
}
@Override @Override
public void onActivityResult(int requestCode, int resultCode, Intent data) public void onActivityResult(int requestCode, int resultCode, Intent data)