Page 1 of 1
reset/reboot the NDS function
Posted: Tue Jun 15, 2010 5:44 pm
by jotd
Hi,
I think I saw that somewhere but no way to find this in the forums
how to reboot/reset the NDS from a homebrew game I'm coding ?
thanks
Re: reset/reboot the NDS function
Posted: Wed Jun 16, 2010 12:24 pm
by StevenH
Using the latest libnds all you need to do is call 1 function:
exit(0);
or simply return from your main function.
If your using an argv supported launcher, like the homebrew menu, your app will exit and return to the launcher app, otherwise it resets the DS.
See
http://wiki.devkitpro.org/index.php/Homebrew_Menu
Re: reset/reboot the NDS function
Posted: Fri Aug 27, 2010 5:52 pm
by RyouArashi
I'm looking for similar function to reboot the NDS file currently loaded.
Calling exit(int) or returning from main switches off the DS / quits no$gba.
I figured swiSoftReset() was the function I was looking for, but it does nothing on no$gba
and gives me a pair of black screens on hardware.
Any ideas?
Re: reset/reboot the NDS function
Posted: Fri Aug 27, 2010 9:43 pm
by WinterMute
Read Steven's post again then either use hbmenu or go moan at your card manufacturer.