#120952 - zeGouky - Wed Mar 07, 2007 6:03 pm
Hi people,
i'm actually trying to use a 512x256 without luck.
here's my init code :
When im doing this : mapMemory0[32] = 10; , the tile appear on the next line.
I don't know what i'm doing wrong if anyone can help.
Thanks
i'm actually trying to use a 512x256 without luck.
here's my init code :
Code: |
videoSetMode( MODE_0_2D | DISPLAY_SPR_ACTIVE | //turn on sprites DISPLAY_BG0_ACTIVE | //turn on background 0 DISPLAY_SPR_1D | DISPLAY_SPR_1D_BMP //and this in bitmap mode ); vramSetMainBanks( VRAM_A_MAIN_SPRITE, VRAM_B_MAIN_BG_0x06000000, VRAM_C_SUB_BG , VRAM_D_LCD); BG0_CR = BG_64x32 | BG_COLOR_256 | BG_MAP_BASE(0) | BG_TILE_BASE(1); |
When im doing this : mapMemory0[32] = 10; , the tile appear on the next line.
I don't know what i'm doing wrong if anyone can help.
Thanks