#23818 - Krakken - Thu Jul 22, 2004 6:28 am
Hi,
I have a very strange problem that I need some help with. I'm currently working on a project in which I am using my class library to control it all. I have several different classes to control the different aspects of the GBA workings and all are not amazingly huge. In my code I have declared aboout 15 of those classes as objects I can use.
The problem I am having is my code executes flawlessly on all emulators but on the actual hardware some of my sprites were missing. I was trying to figure out the problem for hours before I finally realised that maybe it wasn't something in my code but rather a memory problem. You see, the sprites that wern't showing were the last class objects that are declared in my code. I swapped the order in which they are created and now the sprites that wern't showing before were showing and vice versa.
I checked the ExWRAM and IWRAM in the emulator and for some odd reason they were empty. Shouldn't the classes and my objects be stored here?
The very strange thing is that there is 256kb of ExWRAM and I can't see why it would be using an amount even close to this, so why am I getting this problem?
Thanks, Nat.
I have a very strange problem that I need some help with. I'm currently working on a project in which I am using my class library to control it all. I have several different classes to control the different aspects of the GBA workings and all are not amazingly huge. In my code I have declared aboout 15 of those classes as objects I can use.
The problem I am having is my code executes flawlessly on all emulators but on the actual hardware some of my sprites were missing. I was trying to figure out the problem for hours before I finally realised that maybe it wasn't something in my code but rather a memory problem. You see, the sprites that wern't showing were the last class objects that are declared in my code. I swapped the order in which they are created and now the sprites that wern't showing before were showing and vice versa.
I checked the ExWRAM and IWRAM in the emulator and for some odd reason they were empty. Shouldn't the classes and my objects be stored here?
The very strange thing is that there is 256kb of ExWRAM and I can't see why it would be using an amount even close to this, so why am I getting this problem?
Thanks, Nat.