reset/reboot the NDS function

Post Reply
jotd
Posts: 32
Joined: Sun Dec 13, 2009 9:43 pm
Location: France
Contact:

reset/reboot the NDS function

Post by jotd » Tue Jun 15, 2010 5:44 pm

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

StevenH
Posts: 133
Joined: Sun Feb 22, 2009 7:59 pm

Re: reset/reboot the NDS function

Post by StevenH » Wed Jun 16, 2010 12:24 pm

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

RyouArashi
Posts: 29
Joined: Sun Mar 29, 2009 9:23 pm

Re: reset/reboot the NDS function

Post by RyouArashi » Fri Aug 27, 2010 5:52 pm

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?

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: reset/reboot the NDS function

Post by WinterMute » Fri Aug 27, 2010 9:43 pm

Read Steven's post again then either use hbmenu or go moan at your card manufacturer.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 1 guest