mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 00:40:40 +00:00
[Android] Don't hardcode SD card path
This commit is contained in:
parent
6a870c2417
commit
a0b54f558e
@ -2,6 +2,7 @@ package org.dolphinemu.dolphinemu.model;
|
|||||||
|
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
|
import android.os.Environment;
|
||||||
|
|
||||||
public final class Game
|
public final class Game
|
||||||
{
|
{
|
||||||
@ -26,7 +27,7 @@ public final class Game
|
|||||||
public static final int COUNTRY_WORLD = 12;
|
public static final int COUNTRY_WORLD = 12;
|
||||||
public static final int COUNTRY_UNKNOWN = 13;
|
public static final int COUNTRY_UNKNOWN = 13;
|
||||||
|
|
||||||
private static final String PATH_SCREENSHOT_FOLDER = "file:///sdcard/dolphin-emu/ScreenShots/";
|
private static final String PATH_SCREENSHOT_FOLDER = Environment.getExternalStorageDirectory().getPath() + "/dolphin-emu/ScreenShots/";
|
||||||
|
|
||||||
private String mTitle;
|
private String mTitle;
|
||||||
private String mDescription;
|
private String mDescription;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user