Search found 43 matches

by slenkar
Thu Aug 11, 2011 5:17 pm
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

thanks for that BROtip apparently the line is in NEtexture.c (the nitro engine) line 377 void NE_MaterialUse(NE_Material * tex) { if(tex == NULL) { GFX_TEX_FORMAT = 0; GFX_COLOR = NE_White; GFX_DIFFUSE_AMBIENT = ne_defaultdiffuse | (ne_defaultambient<<16) | (ne_defaultvtxcolor<<15); GFX_SPECULAR_EMI...
by slenkar
Thu Aug 11, 2011 3:57 pm
Forum: Announcements
Topic: We've been kachingled!
Replies: 1
Views: 10670

Re: We've been kachingled!

pretty good idea
by slenkar
Thu Aug 11, 2011 7:38 am
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

It crashes under the emulator at about the same time (a few seconds)
by slenkar
Thu Aug 11, 2011 7:18 am
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

ok I removed some textures and shrunk some others and the game actually appeared on the DS hardware! after a few seconds though I get a crash it says PC:0202C0AA addr:36E42C0D and a lot of other letters and numbers I might be using too much RAM, on windows it says Im using 13MB on the task manager w...
by slenkar
Thu Aug 11, 2011 2:54 am
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

hmm the turn-off only happened when I added the exception handler.


I added the extra code and got a debug readout which looked interesting,

thanks for the 2nd BROtip

I
by slenkar
Wed Aug 10, 2011 9:30 pm
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

ok now if I run it in the emulator.. the emulator simply closes

If I run it on the hardware (original DS) it turns itself off! :)

Am I supposed to be calling the function every frame , or just once before the game loop?
by slenkar
Wed Aug 10, 2011 9:22 pm
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

ah yes I put it in the wrong place, it compiles now thanks
by slenkar
Wed Aug 10, 2011 8:58 pm
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

when i put that in my main function it says:

error: expected constructor, destructor, or type conversion before ';' token
by slenkar
Wed Aug 10, 2011 8:39 pm
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

'defaultExceptionHandler();'

thanks for the BROtip
by slenkar
Mon Aug 08, 2011 6:31 am
Forum: DS/DSi Development
Topic: How do you know when you run out of texture memory?
Replies: 19
Views: 17750

Re: How do you know when you run out of texture memory?

Im using 3D quads to draw to the screen
so all my images are textures by the way