mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 00:15:14 +01:00
This commit is contained in:
parent
9bd13dceb6
commit
25b192c940
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user