no_skill
gp2x! bananas! mayhem! mayham!
i wanted to add doublebuffer support to my port of SuperMarioWar.
but geepee32 always crashed with a memory write out of bounds error.
so i tried to compile the doublebuffer example in c++.
(changed filename, lg in the makefile and added #include "cpp_prototypes"
help: http://jnrdev.weed-crew.net/the_wonderful_...weird_stuff.zip
and here's what i encountered:
won't display text on the buffer and crash randomly
works as usual.
this is a very strange behaviour and might also cause other bugs in your projects.
but i aint am sure what's causing this, here's my person list of maybe sources:
crt0.s
geepee32
devkitARM (oh, i forgot to mention that i compiled this example on devkitarm (with MrMirko's also build on devkitARM)
has anybody encountered a similar problem, or is it my urge for c++ again?
asap i'll try it on gp32_MrMirkos and run the exapmle on my gp32 (but my batteries are out and i'm not at home).
but geepee32 always crashed with a memory write out of bounds error.
so i tried to compile the doublebuffer example in c++.
(changed filename, lg in the makefile and added #include "cpp_prototypes"
help: http://jnrdev.weed-crew.net/the_wonderful_...weird_stuff.zip
and here's what i encountered:
Code:
u16 *framebuffer;
u16 *framebuffer2;
int main(){
// example.doublebuffer
}
won't display text on the buffer and crash randomly
Code:
int main(){
u16 *framebuffer;
u16 *framebuffer2;
// example.doublebuffer
}
works as usual.
this is a very strange behaviour and might also cause other bugs in your projects.
but i aint am sure what's causing this, here's my person list of maybe sources:
crt0.s
geepee32
devkitARM (oh, i forgot to mention that i compiled this example on devkitarm (with MrMirko's also build on devkitARM)
has anybody encountered a similar problem, or is it my urge for c++ again?
asap i'll try it on gp32_MrMirkos and run the exapmle on my gp32 (but my batteries are out and i'm not at home).