#105095 - Lupi - Thu Oct 05, 2006 11:11 pm
I load two backgrounds into memory and then I assign BG0_CR and BG0_X0, BG0_Y0 as well as with BG3, it works fine in a emulator but I can't see BG0 in my DS hardware.
There is nothing extrange in the code, I load a background as always, if any of you have a clue, please share it, because I have no idea :S:S...
This is how I load both tiled bg into memory...
Thanks in advance
There is nothing extrange in the code, I load a background as always, if any of you have a clue, please share it, because I have no idea :S:S...
Code: |
void LoadBG_BG(){
dmaCopy(BG_img_bin,(void*)BG_TILE_RAM(0), BG_img_bin_size); dmaCopy(BG_map_bin,(void*)BG_MAP_RAM(8),BG_map_bin_size ); } void LoadBG_Overview(){ dmaCopy(Overview_img_bin,(void*)BG_TILE_RAM(2), Overview_img_bin_size); dmaCopy(Overview_map_bin,(void*)BG_MAP_RAM(24),Overview_map_bin_size ); } |
This is how I load both tiled bg into memory...
Thanks in advance