mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Merge pull request #19289 from hrydgard/fix-remote-disc-streaming-ios
Remote Disc Streaming on iOS: Don't accidentally force the game browser to the local folder
This commit is contained in:
commit
e3820752dd
@ -519,7 +519,9 @@ GameBrowser::GameBrowser(int token, const Path &path, BrowseFlags browseFlags, b
|
||||
} else {
|
||||
path_.SetRootAlias("ms:/", memstickRoot);
|
||||
}
|
||||
if (System_GetPropertyBool(SYSPROP_LIMITED_FILE_BROWSING)) {
|
||||
if (System_GetPropertyBool(SYSPROP_LIMITED_FILE_BROWSING) &&
|
||||
(path.Type() == PathType::NATIVE || path.Type() == PathType::CONTENT_URI)) {
|
||||
// Note: We don't restrict if the path is HTTPS, otherwise remote disc streaming breaks!
|
||||
path_.RestrictToRoot(GetSysDirectory(DIRECTORY_MEMSTICK_ROOT));
|
||||
}
|
||||
path_.SetPath(path);
|
||||
|
Loading…
Reference in New Issue
Block a user