mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-05 21:38:17 +01:00
don't wait for network init before entering game
This commit is contained in:
parent
b657722e34
commit
99632b84f1
@ -74,6 +74,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);
|
||||
@ -119,8 +124,8 @@ devicecallback (void *arg)
|
||||
}
|
||||
}
|
||||
|
||||
InitializeNetwork(SILENT);
|
||||
UpdateCheck();
|
||||
InitializeNetwork(SILENT);
|
||||
#else
|
||||
if(isMounted[METHOD_SD_SLOTA])
|
||||
{
|
||||
|
@ -24,7 +24,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;
|
||||
|
@ -19,5 +19,6 @@ bool ConnectShare (bool silent);
|
||||
void CloseShare();
|
||||
|
||||
extern bool updateFound;
|
||||
extern bool inNetworkInit;
|
||||
|
||||
#endif
|
||||
|
@ -25,7 +25,7 @@ extern int rumbleRequest[4];
|
||||
extern u32 btnmap[2][4][12];
|
||||
|
||||
void SetControllers();
|
||||
void ResetControls(int wc = 0, int cc = 0);
|
||||
void ResetControls(int cc = 0, int wc = 0);
|
||||
void ShutoffRumble();
|
||||
void DoRumble(int i);
|
||||
s8 WPAD_StickX(u8 chan,u8 right);
|
||||
|
Loading…
Reference in New Issue
Block a user