Search found 224 matches

by vuurrobin
Mon Sep 26, 2011 12:43 pm
Forum: DS Development
Topic: Retrieving System Generation?
Replies: 4
Views: 4182

Re: Retrieving System Generation?

programs usally shouldn't need to know on what device they are running on.

why do you need this?
by vuurrobin
Mon Sep 26, 2011 12:31 pm
Forum: DS Development
Topic: End of program..
Replies: 3
Views: 3543

Re: End of program..

it returns to menu if the menu supports it and it will shutdown de ds if the menu doesn't support it.


the behaviour used to be undefined usally causing it to hang, but this was changed somewhere in the past.
by vuurrobin
Thu Aug 11, 2011 2:04 pm
Forum: DS Development
Topic: Get nds file icon?
Replies: 12
Views: 10635

Re: Get nds file icon?

the law may allow it, but that doesn't mean its supported on this forum.
by vuurrobin
Fri Jul 08, 2011 2:24 pm
Forum: GBA Development
Topic: Assolute noob where do I start?
Replies: 2
Views: 6018

Re: Assolute noob where do I start?

the installer should also have installed the gba examples (unless you deselected them). that is also a good place to look.

there should also be a doxygen manual somewhere, but I can't seem to find it (is there even one for libgba?).
by vuurrobin
Wed Jul 06, 2011 10:27 pm
Forum: DS Development
Topic: How is "saving" supposed to be done?
Replies: 3
Views: 2945

Re: How is "saving" supposed to be done?

using the filesystem is the only good way for creating savefiles. a sortof best practice is to store your savefile in /DATA/yourgame/ so that the root doesn't get cluttered up, but sadly few people follow that.
by vuurrobin
Thu Jun 09, 2011 6:50 pm
Forum: libfat
Topic: NDS loader / SoftReset
Replies: 2
Views: 4704

Re: NDS loader / SoftReset

system() executes its parameter on the command line. seeing as the ds doesn't have a command line (or an OS) that function is useless on ds. letting homebrew return to the menu is really a job for the menu by implementing the exit to menu protocol (http://devkitpro.org/wiki/Homebrew_Menu#Exit_to_Men...
by vuurrobin
Thu Jun 09, 2011 6:20 pm
Forum: DS Development
Topic: BG image shows up as garbage
Replies: 3
Views: 3301

Re: BG image shows up as garbage

irqInit(); and irqEnable(IRQ_VBLANK); are already called before main starts. calling them yourself will cause errors with libnds. remove those 2 calls and try again.
by vuurrobin
Thu Jun 09, 2011 6:12 pm
Forum: devkitARM
Topic: devkitARM internals
Replies: 1
Views: 2105

Re: devkitARM internals

here is an explanation of the toolchain and an explanation on how to create an nds file the hard way (note that the tutorial is old, so thing may be changed in the meantime) http://www.dev-scene.com/NDS/Tutorials_Day_2#Toolchain_Explained here is some information about the firmware (not sure if this...
by vuurrobin
Fri Mar 25, 2011 9:47 pm
Forum: DS Development
Topic: Restart NDS file
Replies: 4
Views: 3237

Re: Restart NDS file

Code: Select all

bool restart = true;

int main()
{
	while(restart)
	{
		restart = mygame();
	}
	return 0;
}
by vuurrobin
Tue Mar 15, 2011 11:44 am
Forum: DS Development
Topic: Retrieving user infos?
Replies: 5
Views: 2954

Re: Retrieving user infos?

you shouldn't include "system.h", it already gets included in "nds.h"

you can access the user data with the "PersonalData" define, so "PersonalData->name" will get you the users name in utf-16 format.