Welcome! Log In Create A New Profile

Advanced

dsi when WPAD_Init

Posted by arasium 
dsi when WPAD_Init
October 29, 2009 10:49AM
Hello,

I'm trying to reload an ios. To avoid any pb with the pad, i've this:

WPAD_Shutdown();
IOS_ReloadIOS(36);
WPAD_Init();

The last line cause a dsi....
For information, i'm using the last devkitpro updater.
Re: dsi when WPAD_Init
October 29, 2009 11:14AM
do you have any other threads running at the same time?
Re: dsi when WPAD_Init
October 29, 2009 11:54AM
You can shutdown unless you init previously to doing so.
Re: dsi when WPAD_Init
October 29, 2009 01:14PM
Ok, so no, i havent any thread (excepting the main thread :))

Arikado: I don't understand what you mean. I can't shutdown if i've init them before? If yes, how can i do :)

My full code is something like that:

- Init Console
- WPAD_Init
- My Code (i display some informations, a menu etc....)
- WPAD_Shutdown()
- IOS_ReloadIOS(36)
- WPAD_Init()


Edit: I've read the header wiiuse/wpad.h and, is WPAD_Disconnect more appropriate?



Edited 1 time(s). Last edit at 10/29/2009 02:02PM by arasium.
Re: dsi when WPAD_Init
October 31, 2009 02:20PM
No, my ideas fails. You seem to be doing everything write.

However, I would like to know, how do you that its WPAD_Init() and not IOS_ReloadIOS(IOS) thats causing your problem?
Re: dsi when WPAD_Init
October 31, 2009 05:19PM
'cause when we reload without using the wpad, it works :)
Re: dsi when WPAD_Init
November 03, 2009 12:24AM
Last time i tested i got a code dump on the 11th(yes 11) WPAD_Init in a loop with just WPAD_Shutdown and WPAD_Init. Commend your IOS Reload and i assume it code dumps as well.

I got confirmation that the wpad stuff was not written with the intention that it can be shutdown and reinited. It's a known issue in libogc and has very very low priority for the authors.
Re: dsi when WPAD_Init
November 03, 2009 11:11AM
Ok :)

That explains all our bugs. Thank you.
Sorry, only registered users may post in this forum.

Click here to login