mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove now-unnecessary special cases in PathBrowser
This commit is contained in:
parent
825478bbf7
commit
1eb36cd655
1 changed files with 0 additions and 17 deletions
|
@ -305,27 +305,10 @@ bool PathBrowser::CanNavigateUp() {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
#if PPSSPP_PLATFORM(ANDROID)
|
|
||||||
if (Android_IsContentUri(path_.ToString())) {
|
|
||||||
AndroidStorageContentURI uri(path_.ToString());
|
|
||||||
return uri.CanNavigateUp();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return path_.CanNavigateUp();
|
return path_.CanNavigateUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PathBrowser::NavigateUp() {
|
void PathBrowser::NavigateUp() {
|
||||||
#if PPSSPP_PLATFORM(ANDROID)
|
|
||||||
if (Android_IsContentUri(path_.ToString())) {
|
|
||||||
// Manipulate the Uri to navigate upwards.
|
|
||||||
AndroidStorageContentURI uri(path_.ToString());
|
|
||||||
if (uri.NavigateUp()) {
|
|
||||||
path_ = Path(uri.ToString());
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
path_ = path_.NavigateUp();
|
path_ = path_.NavigateUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue