Search
lxdream.org :: lxdream :: r1285:f72cfb134a87
lxdream 0.9.1
released Jun 29
Download Now
changeset1285:f72cfb134a87
parent1284:0db0a5e72698
child1286:8376a612a79d
authornkeynes
dateTue Apr 17 21:53:55 2012 +1000 (7 years ago)
Set the android default directory to $SDCARD/lxdream instead of the /data
directory.
android/src/org/lxdream/LxdreamActivity.java
1.1 --- a/android/src/org/lxdream/LxdreamActivity.java Tue Apr 17 21:35:38 2012 +1000
1.2 +++ b/android/src/org/lxdream/LxdreamActivity.java Tue Apr 17 21:53:55 2012 +1000
1.3 @@ -23,6 +23,7 @@
1.4 import android.content.res.Resources;
1.5 import android.graphics.drawable.Drawable;
1.6 import android.os.Bundle;
1.7 +import android.os.Environment;
1.8 import android.util.Log;
1.9 import android.view.Menu;
1.10 import android.view.MenuInflater;
1.11 @@ -48,7 +49,7 @@
1.12 pauseIcon = res.getDrawable(R.drawable.tb_pause);
1.13
1.14 Log.i("LxdreamActivity", "Calling Dreamcast.init");
1.15 - Dreamcast.init( ctx.getFilesDir().toString() );
1.16 + Dreamcast.init( Environment.getExternalStorageDirectory().toString() + "/lxdream" );
1.17 Log.i("LxdreamActivity", "Finished Dreamcast.init");
1.18 view = new LxdreamView(ctx);
1.19 setContentView(view);
.