diff --git a/out/boot.dol b/out/boot.dol index dca74301..ca8afb0a 100644 Binary files a/out/boot.dol and b/out/boot.dol differ diff --git a/source/main.cpp b/source/main.cpp index e794774d..e497986f 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -58,13 +58,6 @@ bool isUsingUSB() { return true; } - /* if sd_only is false, then we're using USB */ - if(!m_cfg.getBool("general", "sd_only", true)) - { - // sd_only is false, so assuming we're using USB. - return true; - } - /* If any of the sections have partition set > 0, we're on USB */ const char *domains[] = {WII_DOMAIN, GC_DOMAIN, CHANNEL_DOMAIN, PLUGIN_DOMAIN, HOMEBREW_DOMAIN}; for(int i = 0; i < 5; i++) @@ -75,6 +68,14 @@ bool isUsingUSB() { return true; } } + + /* if sd_only is false, then we're using USB */ + if(!m_cfg.getBool("general", "sd_only", true)) + { + // sd_only is false, so assuming we're using USB. + return true; + } + gprintf("using SD only, no need for USB mounting.\n"); return false; } diff --git a/source/menu/menu.cpp b/source/menu/menu.cpp index d43f4f1f..536a1212 100644 --- a/source/menu/menu.cpp +++ b/source/menu/menu.cpp @@ -163,7 +163,7 @@ bool CMenu::init() _netInit(); /* Set SD only to off if any usb device is attached and format is FAT, NTFS, WBFS, or LINUX */ - m_cfg.setBool("GENERAL", "sd_only", true); + m_cfg.getBool("GENERAL", "sd_only", true);// will only set it true if this doesn't already exist for(int i = USB1; i <= USB8; i++) { if(DeviceHandle.IsInserted(i) && DeviceHandle.GetFSType(i) >= 0)