mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 21:14:21 +01:00
source tidy
This commit is contained in:
parent
dfa49325ec
commit
b4e7caa65b
@ -50,12 +50,9 @@ void UpdateCheck()
|
||||
if(!updateChecked && networkInit && (isMounted[DEVICE_SD] || isMounted[DEVICE_USB]))
|
||||
{
|
||||
updateChecked = true;
|
||||
static char url[128];
|
||||
snprintf(url, 128, "http://snes9x-gx.googlecode.com/svn/trunk/update.xml");
|
||||
u8 * tmpbuffer = (u8 *)memalign(32,32768);
|
||||
memset(tmpbuffer, 0, 32768);
|
||||
u8 tmpbuffer[256];
|
||||
|
||||
if (http_request(url, NULL, tmpbuffer, 32768, SILENT) > 0)
|
||||
if (http_request("http://snes9x-gx.googlecode.com/svn/trunk/update.xml", NULL, tmpbuffer, 256, SILENT) > 0)
|
||||
{
|
||||
mxml_node_t *xml;
|
||||
mxml_node_t *item;
|
||||
@ -103,7 +100,6 @@ void UpdateCheck()
|
||||
mxmlDelete(xml);
|
||||
}
|
||||
}
|
||||
free(tmpbuffer);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user