GP2X 2 Questions...


YuanHao

Member
Joined
Jul 30, 2006
Messages
215
Age
38
Website
www.yuanworks.com
Hello.

First, sometimes when I run my program in Windows, using the normal "RUN" (I am using the sdk provided in the gp2x.com page) the game has unexpected results (sometimes not drawing, etc.) and mostly it crashes.

However, when I run in DEBUG mode, it has no problems whatsoever.

Is there any difference between running in normal mode and debug mode? And if there is, why? Why is this happening?


Second, I have read that the gp2x's native display is 24 bit. Is this true? If so, should I run my display in 24BPP or 16BPP? Do I get better results with one or the other?

Thank you!
 
A r k posted on Jul 30 2006 at 09:36 PM said:
Hello.

First, sometimes when I run my program in Windows, using the normal "RUN" (I am using the sdk provided in the gp2x.com page) the game has unexpected results (sometimes not drawing, etc.) and mostly it crashes.

However, when I run in DEBUG mode, it has no problems whatsoever.

Is there any difference between running in normal mode and debug mode? And if there is, why? Why is this happening?
Sounds like an ununitlized pointer. In debugmode you're just lucky that it strands on memory that is already 0.
 
Last edited by a moderator:
Back
Top