mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-30 10:05:11 +00:00
Android: Minor cleanup.
This commit is contained in:
parent
b2fba2f834
commit
57fda69e50
@ -40,8 +40,6 @@ void System_SendMessage(const char *command, const char *parameter);
|
||||
PermissionStatus System_GetPermissionStatus(SystemPermission permission);
|
||||
void System_AskForPermission(SystemPermission permission);
|
||||
|
||||
std::vector<std::string> System_GetExternalStorageDirs();
|
||||
|
||||
// This will get muddy with multi-screen support :/ But this will always be the type of the main device.
|
||||
enum SystemDeviceType {
|
||||
DEVICE_TYPE_MOBILE = 0, // phones and pads
|
||||
|
@ -579,15 +579,15 @@ extern "C" void Java_org_ppsspp_ppsspp_NativeApp_init
|
||||
|
||||
EARLY_LOG("NativeApp.init(): device name: '%s'", systemName.c_str());
|
||||
|
||||
std::string externalStorageDir = GetJavaString(env, jexternalStorageDir);
|
||||
std::string additionalStorageDirsString = GetJavaString(env, jadditionalStorageDirs);
|
||||
std::string externalStorageDir = GetJavaString(env, jexternalStorageDir);
|
||||
std::string additionalStorageDirsString = GetJavaString(env, jadditionalStorageDirs);
|
||||
|
||||
if (!additionalStorageDirsString.empty()) {
|
||||
SplitString(additionalStorageDirsString, ':', g_additionalStorageDirs);
|
||||
for (auto &str : g_additionalStorageDirs) {
|
||||
if (!additionalStorageDirsString.empty()) {
|
||||
SplitString(additionalStorageDirsString, ':', g_additionalStorageDirs);
|
||||
for (auto &str : g_additionalStorageDirs) {
|
||||
EARLY_LOG("Additional storage: %s", str.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::string user_data_path = GetJavaString(env, jdataDir);
|
||||
if (user_data_path.size() > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user