#23907 - enliteneer - Sat Jul 24, 2004 1:09 am
I tried compiling the tk-keys demo that I d/led from the source section
and it *LOOKS* like it was compiled with the ARM SDK.
Im having trouble compiling it with devkitadv.
I think I narrowed the problem to a data array. If I just try to
include the header file that declares this array into a known working
project, my project will compile but not run (it crashes the emulator!)
The only weird thing I see about the array is that its rather big
unsigned char openingData[33280] ,
with some experimenting, I notice that any array size larger than
15896, will cause a violent crash.
Is there a limit on array sizes? Is there some tweak that I need to do to compile code that was originally for the arm sdk onto the devkitadv?
*http://www.gbadev.org/download.php?section=demos&filename=tk-keys.zip
and it *LOOKS* like it was compiled with the ARM SDK.
Im having trouble compiling it with devkitadv.
I think I narrowed the problem to a data array. If I just try to
include the header file that declares this array into a known working
project, my project will compile but not run (it crashes the emulator!)
The only weird thing I see about the array is that its rather big
unsigned char openingData[33280] ,
with some experimenting, I notice that any array size larger than
15896, will cause a violent crash.
Is there a limit on array sizes? Is there some tweak that I need to do to compile code that was originally for the arm sdk onto the devkitadv?
*http://www.gbadev.org/download.php?section=demos&filename=tk-keys.zip