This commit is contained in:
dborth 2009-02-08 21:59:53 +00:00
parent 9bd13dceb6
commit 25b192c940
2 changed files with 7 additions and 1 deletions

View File

@ -51,7 +51,7 @@ bool isMounted[9] = { false, false, false, false, false, false, false, false, fa
/****************************************************************************
* deviceThreading
***************************************************************************/
lwp_t devicethread;
lwp_t devicethread = LWP_THREAD_NULL;
/****************************************************************************
* devicecallback
@ -244,11 +244,13 @@ bool ChangeInterface(int method, bool silent)
sprintf(rootdir, "/");
mounted = MountDVD(silent);
}
#ifdef HW_RVL
else if(method == METHOD_SMB)
{
sprintf(rootdir, "smb:/");
mounted = ConnectShare(silent);
}
#endif
return mounted;
}

View File

@ -20,6 +20,8 @@
#include "fileop.h"
#include "http.h"
#ifdef HW_RVL
static bool networkInit = false;
static bool autoNetworkInit = true;
static bool networkShareInit = false;
@ -260,3 +262,5 @@ ConnectShare (bool silent)
return networkShareInit;
}
#endif