-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index fd81313..979549d 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -334,8 +334,13 @@ void AdvancedFm::docButtonPushed() { void AdvancedFm::SDButtonPushed() { Opie::Core::OStorageInfo info; + if(StorageInfo::hasSd() ) { changeTo(info.sdPath()); } + else if(StorageInfo::hasMmc()) { + changeTo(info.mmcPath()); + } +} void AdvancedFm::CFButtonPushed() { Opie::Core::OStorageInfo info; |