#3027 - Dasuten - Sun Feb 16, 2003 8:22 pm
I'm having a problem putting some of my code into IWRAM. I'm using the macro:
to (attempt to) do this. Functions with no arguments work...
but this doesn't.
It complains about conflicting types and how I previously declared it. What am I doing wrong?
Code: |
#define CODE_IN_IWRAM __attribute__ ((section (".iwram"), long_call))
|
to (attempt to) do this. Functions with no arguments work...
Code: |
void fade_out() CODE_IN_IWRAM; |
but this doesn't.
Code: |
void xfade(const u16 *pic) CODE_IN_IWRAM; |
It complains about conflicting types and how I previously declared it. What am I doing wrong?