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
reset/reboot the NDS function
Re: reset/reboot the NDS function
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
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
-
- Posts: 29
- Joined: Sun Mar 29, 2009 9:23 pm
Re: reset/reboot the NDS function
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?
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?
-
- Site Admin
- Posts: 1989
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: reset/reboot the NDS function
Read Steven's post again then either use hbmenu or go moan at your card manufacturer.
Who is online
Users browsing this forum: No registered users and 0 guests