mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-04-07 17:56:35 +02:00
don't wait for network init before entering game
This commit is contained in:
parent
2bfce2dd57
commit
83b4508566
@ -77,6 +77,11 @@ HaltDeviceThread()
|
||||
{
|
||||
deviceHalt = true;
|
||||
|
||||
#ifdef HW_RVL
|
||||
if(inNetworkInit) // don't wait for network to initialize
|
||||
return;
|
||||
#endif
|
||||
|
||||
// wait for thread to finish
|
||||
while(!LWP_ThreadIsSuspended(devicethread))
|
||||
usleep(100);
|
||||
@ -122,8 +127,8 @@ devicecallback (void *arg)
|
||||
}
|
||||
}
|
||||
|
||||
InitializeNetwork(SILENT);
|
||||
UpdateCheck();
|
||||
InitializeNetwork(SILENT);
|
||||
#else
|
||||
if(isMounted[METHOD_SD_SLOTA])
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "http.h"
|
||||
#include "filebrowser.h"
|
||||
|
||||
static bool inNetworkInit = false;
|
||||
bool inNetworkInit = false;
|
||||
static bool networkInit = false;
|
||||
static bool autoNetworkInit = true;
|
||||
static bool networkShareInit = false;
|
||||
|
@ -18,5 +18,6 @@ bool ConnectShare (bool silent);
|
||||
void CloseShare();
|
||||
|
||||
extern bool updateFound;
|
||||
extern bool inNetworkInit;
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user