From 1eb36cd65542ab4b637f991661199a0d4f78888c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 16 May 2021 00:25:35 +0200 Subject: [PATCH] Remove now-unnecessary special cases in PathBrowser --- Common/File/PathBrowser.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Common/File/PathBrowser.cpp b/Common/File/PathBrowser.cpp index 8edca75c25..8e276f38bc 100644 --- a/Common/File/PathBrowser.cpp +++ b/Common/File/PathBrowser.cpp @@ -305,27 +305,10 @@ bool PathBrowser::CanNavigateUp() { } #endif */ -#if PPSSPP_PLATFORM(ANDROID) - if (Android_IsContentUri(path_.ToString())) { - AndroidStorageContentURI uri(path_.ToString()); - return uri.CanNavigateUp(); - } -#endif - return path_.CanNavigateUp(); } 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(); }