aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2013-05-16 12:56:41 +0200
committerAlyssa Milburn2013-05-16 12:56:41 +0200
commitc96b75e1f7c3ca7c46aafc51d7d1fd841417c15c (patch)
treee058ea4929e4ad2eecbb0d91385ba11733d28404
parent89d9a624d9f0b4f5ba07259d5f90f7f85f15a0df (diff)
downloadscummvm-rg350-c96b75e1f7c3ca7c46aafc51d7d1fd841417c15c.tar.gz
scummvm-rg350-c96b75e1f7c3ca7c46aafc51d7d1fd841417c15c.tar.bz2
scummvm-rg350-c96b75e1f7c3ca7c46aafc51d7d1fd841417c15c.zip
ANDROID: Ignore subdirectories of asset archives.
-rw-r--r--backends/platform/android/asset-archive.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/android/asset-archive.cpp b/backends/platform/android/asset-archive.cpp
index f1decfb7fa..da378fb082 100644
--- a/backends/platform/android/asset-archive.cpp
+++ b/backends/platform/android/asset-archive.cpp
@@ -461,7 +461,9 @@ int AndroidAssetArchive::listMembers(Common::ArchiveMemberList &member_list) con
member_list.push_back(getMember(thispath));
++count;
} else {
- dirlist.push_back(thispath);
+ // AssetManager is ridiculously slow and we don't care
+ // about subdirectories at the moment, so ignore them.
+ // dirlist.push_back(thispath);
}
}