mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-17 04:39:34 +00:00
Remote Disc Streaming on iOS: Don't accidentally force the game browser to local
On iOS we enforce browsing the app directory only due to permission issues, but this should not apply when opening a HTTPS URL. Oops.
This commit is contained in:
parent
cbdb2a37eb
commit
30a822caa4
@ -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…
x
Reference in New Issue
Block a user