Search found 43 matches

by slenkar
Mon Sep 24, 2012 5:41 pm
Forum: devkitARM
Topic: other languages?
Replies: 2
Views: 6651

other languages?

gcc supports C, C++, Objective-C, Fortran, Java, Ada, and Go

so does this mean i can use any of those languages?
by slenkar
Tue Sep 18, 2012 5:14 pm
Forum: DS/DSi Development
Topic: using included function crashes DS
Replies: 10
Views: 14816

Re: using included function crashes DS

oh i seee,

thanks I will be allocating everything from now on, (except maybe local ints and things like that)
by slenkar
Tue Sep 18, 2012 3:23 pm
Forum: DS/DSi Development
Topic: using included function crashes DS
Replies: 10
Views: 14816

Re: using included function crashes DS

oops I was running the wrong nds file!! But I managed to recreate the crash succesfully now: here is structs.h #ifndef structs #define structs #define one_off 1 #define torso_img 0 #define right_arm_img 1 #define right_forearm_img 2 #define left_arm_img 3 #define left_forearm_img 4 static inline voi...
by slenkar
Tue Sep 18, 2012 2:55 pm
Forum: DS/DSi Development
Topic: using included function crashes DS
Replies: 10
Views: 14816

Re: using included function crashes DS

It also doesnt work on the hardware,or desmume

try adding a printf statement in the code and youll see that nothing is printed

then take out the call to the external function and it will work
by slenkar
Tue Sep 18, 2012 12:00 am
Forum: DS/DSi Development
Topic: using included function crashes DS
Replies: 10
Views: 14816

Re: using included function crashes DS

I compiled with GCC , are you using microsofts compiler?

When I run the nds file in the emulator it crashes.It just says 'Rom image has crashed'
by slenkar
Mon Sep 17, 2012 5:19 pm
Forum: DS/DSi Development
Topic: using included function crashes DS
Replies: 10
Views: 14816

using included function crashes DS

here is a small example to crash the DS: includeme.h #ifndef anims #define anims int new_int(); #endif includeme.cpp int new_int() { int a; return a; } main.cpp #include <nds.h> #include <stdio.h> #include <string.h> #include "includeme.h" int main() { int b=new_int(); while( 1 ) { swiWait...
by slenkar
Thu Sep 13, 2012 10:31 pm
Forum: Off Topic
Topic: FlashPlayer on the DS
Replies: 3
Views: 16497

Re: FlashPlayer on the DS

you mean FLV videos from youtube, you can watch them on the supercard dstwo, or you can convert them to DPG (dont know how to do that) and watch them on the normal DS with moonshell
by slenkar
Thu Sep 13, 2012 9:18 pm
Forum: User Contributions
Topic: Easy GL2D
Replies: 56
Views: 270063

Re: Easy GL2D

it worked! thanks,
I turned my bitmap into an indexed image used magenta as the background and added the flag and this time it worked,
by slenkar
Thu Sep 13, 2012 8:28 pm
Forum: User Contributions
Topic: Easy GL2D
Replies: 56
Views: 270063

Re: Easy GL2D

aha ok, so how do I, get magenta to be transparent

or how do I get magenta to be the first color in the palette?
by slenkar
Thu Sep 13, 2012 7:13 pm
Forum: User Contributions
Topic: Easy GL2D
Replies: 56
Views: 270063

Re: Easy GL2D

even if I set my png's background to 0,0,0 black and put the GL_TEXTURE_COLOR0_TRANSPARENT enum back into the sourcecode black is still not transparent