mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 00:15:14 +01:00
revert more changes
This commit is contained in:
parent
4e1004660f
commit
9bd13dceb6
@ -65,7 +65,7 @@ devicecallback (void *arg)
|
||||
while (1)
|
||||
{
|
||||
#ifdef HW_RVL
|
||||
/*if(isMounted[METHOD_SD])
|
||||
if(isMounted[METHOD_SD])
|
||||
{
|
||||
if(!sd->isInserted()) // check if the device was removed
|
||||
{
|
||||
@ -82,11 +82,11 @@ devicecallback (void *arg)
|
||||
isMounted[METHOD_USB] = false;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
InitializeNetwork(SILENT);
|
||||
UpdateCheck();
|
||||
#else
|
||||
/*if(isMounted[METHOD_SD_SLOTA])
|
||||
if(isMounted[METHOD_SD_SLOTA])
|
||||
{
|
||||
if(!carda->isInserted()) // check if the device was removed
|
||||
{
|
||||
@ -101,7 +101,7 @@ devicecallback (void *arg)
|
||||
unmountRequired[METHOD_SD_SLOTB] = true;
|
||||
isMounted[METHOD_SD_SLOTB] = false;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
#endif
|
||||
usleep(500000); // suspend thread for 1/2 sec
|
||||
}
|
||||
@ -428,9 +428,6 @@ LoadFile (char * rbuffer, char *filepath, u32 length, int method, bool silent)
|
||||
|
||||
file = fopen (fullpath, "rb");
|
||||
|
||||
printf("loading %s", fullpath);
|
||||
sleep(2);
|
||||
|
||||
if (file > 0)
|
||||
{
|
||||
if(length > 0 && length <= 2048) // do a partial read (eg: to check file header)
|
||||
|
Loading…
Reference in New Issue
Block a user