From c96b75e1f7c3ca7c46aafc51d7d1fd841417c15c Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Thu, 16 May 2013 12:56:41 +0200 Subject: ANDROID: Ignore subdirectories of asset archives. --- backends/platform/android/asset-archive.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } } -- cgit v1.2.3