Since A2 in the last error is 0x05 it either means I have gotten 0x05 back from SPR_addSprite or that it has happened in some other way afterwards. Me thinks.

Code: Select all
// sprite is always added at the end of list so we use MAX_DEPTH here
sprite->depth = SPR_MAX_DEPTH