QUOTE(jono@home @ Apr 21 2009, 06:24 PM) Found a bug..
If you connect to the network to download covers in the USB loader.. you will then be unable to connect to online games afterwards..
maybe a disconnect function is required on load of game ?
Only other way around it is to download your covers.. exit USB loader.. then start usb loader again..
I wonder if net_close(); should work for disconnecting the net when booting a game (i'm no programmer so, someone that have knowledge might have something to say about this)?
menu.c
If you connect to the network to download covers in the USB loader.. you will then be unable to connect to online games afterwards..
maybe a disconnect function is required on load of game ?
Only other way around it is to download your covers.. exit USB loader.. then start usb loader again..
I wonder if net_close(); should work for disconnecting the net when booting a game (i'm no programmer so, someone that have knowledge might have something to say about this)?
menu.c
Code:
void Menu_Boot(void)
{
ÂÂÂÂstruct discHdr *header = NULL;
ÂÂÂÂs32 ret;
ÂÂÂÂ/* No game list */
ÂÂÂÂif (!gameCnt)
ÂÂÂÂÂÂÂÂreturn;
ÂÂÂÂ/* Selected game */
ÂÂÂÂheader = &gameList[gameSelected];
ÂÂÂÂ/* Clear console */
ÂÂÂÂCon_Clear();
ÂÂÂÂ/* Show game info */
ÂÂÂÂ__Menu_PrintInfo(header);
ÂÂÂÂprintf("[+] Booting Wii game, please wait...\n");
ÂÂÂÂ
ÂÂÂÂ// ****************************************************
ÂÂÂÂ/* Turn of Network - would this be the way to do it? */
ÂÂÂÂnet_close();
ÂÂÂÂ// ****************************************************
ÂÂÂÂ/* Set WBFS mode */
ÂÂÂÂDisc_SetWBFS(wbfsDev, header->id);