#130273 - airesso - Fri Jun 01, 2007 8:50 pm
I'll start by admitting that I am very new to all of this, but I'm trying to fight my way through the tutorials I can find. In a lot of tutorials I've seen they will often use
When I go to compile this (using Windows XP) I get:
error: VRAM_A_MAIN_BG_0x6000000 undeclared (first use in this function) for each of the VRAM except D.
If I change them to just VRAM_A_MAIN_BG, VRAM_B_MAIN_BG, etc it compiles fine and displays ok, but I think thats just because is so simple but I have the feeling I'm missing something important.
Thanks in advanced,
Jeremy[/code]
Code: |
vramSetMainBanks(VRAM_A_MAIN_BG_0x6000000, VRAM_B_MAIN_BG_0x6020000, VRAM_C_SUB_BG_0x6200000, VRAM_D_LCD); |
When I go to compile this (using Windows XP) I get:
error: VRAM_A_MAIN_BG_0x6000000 undeclared (first use in this function) for each of the VRAM except D.
If I change them to just VRAM_A_MAIN_BG, VRAM_B_MAIN_BG, etc it compiles fine and displays ok, but I think thats just because is so simple but I have the feeling I'm missing something important.
Thanks in advanced,
Jeremy[/code]