Hi!
Is there any limitation in the static constant values that can be defined in a header file to be used in SDCC?
I've had some poltergeist while developing a game in SDCC. In a header file I have all the definitions of sprites defined using static const unsigned int sprite_name[] and it has worked without a problem. But recently, I added a few more definitions of sprites and depending where I use these news values in the main function I get different behaviors: some times there are no sprites on the screen, other times the system resets and other times it works well.
My guess is that the problem is with the header file. Has someone found something similar? What am I doing wrong?
Login or register to post comments