mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Fix folder browser on Android and Windows
This commit is contained in:
1 parent
49efa4499e
commit
b7350f3cbf
7 files changed
+54
-39
No files matched your search
+1
-11
@@ -1215,19 +1215,9 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
g_Config.Reload();
|
||||
PostLoadConfig();
|
||||
g_Config.iGPUBackend = gpuBackend;
|
||||
}
|
||||
else if (msg == "app_resumed" || msg == "got_focus") {
|
||||
} else if (msg == "app_resumed" || msg == "got_focus") {
|
||||
// Assume that the user may have modified things.
|
||||
MemoryStick_NotifyWrite();
|
||||
} else if (msg == "browse_folder") {
|
||||
Path thePath = Path(value);
|
||||
File::FileInfo info;
|
||||
if (!File::GetFileInfo(thePath, &info))
|
||||
return;
|
||||
if (info.isDirectory)
|
||||
NativeMessageReceived("browse_folderSelect", thePath.c_str());
|
||||
else
|
||||
NativeMessageReceived("browse_fileSelect", thePath.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user