Page 1 of 1

Wifi_InitDefault problem because of libnds?

Posted: Wed Jun 10, 2009 12:16 pm
by DarkShadow44
Hello,
I've the problem that Wifi_InitDefault doesn't work with the newest libnds and wifi lib.

It only works, if I install the previous libnds AND wifi lib.

It always hangs at

Code: Select all

while(Wifi_CheckInit()==0) {
    swiWaitForVBlank();
}
Can you help me?

Re: Wifi_InitDefault problem because of libnds?

Posted: Thu Jun 11, 2009 12:29 am
by WinterMute
How are you running code? i.e. which card?

Re: Wifi_InitDefault problem because of libnds?

Posted: Thu Jun 11, 2009 10:30 am
by DarkShadow44
I tried it on no$gba and my CycloDsEvolution.

Re: Wifi_InitDefault problem because of libnds?

Posted: Fri Jun 12, 2009 4:52 am
by WinterMute
There's no point running wifi code on no$gba, it won't work.

The CycloDS boot menu may be doing something odd - is it possible to disable the soft reset?

Re: Wifi_InitDefault problem because of libnds?

Posted: Fri Jun 12, 2009 1:56 pm
by DarkShadow44
I solved it. The compiler used and old PAlib Makefile which used an old arm7.bin.

Then I copied an Makefile of the examples and it worked. :oops:

Now it can run "Wifi_InitDefault" also on No$Gba.