#4153 - Psyk - Fri Mar 21, 2003 9:17 am
I'm currently using a rotation background but i want to change it to a text background. This is the code i have at the moment
This works fine but if i change the screen mode to 0 and change the code to this it doesn't work.
When i do this all the tile data is garbled. What else do i need to change?
Code: |
temp = ROTBG_SIZE_256x256| (0<<CHAR_SHIFT) | 8<<SCREEN_SHIFT) | BG_COLOR_256| PRIORITY(3);
REG_BG2CNT = temp; REG_DISPCNT |= BG2_ENABLE; |
This works fine but if i change the screen mode to 0 and change the code to this it doesn't work.
Code: |
temp = TEXTBG_SIZE_256x256| (0<<CHAR_SHIFT) | 8<<SCREEN_SHIFT) | BG_COLOR_256| PRIORITY(3);
REG_BG2CNT = temp; REG_DISPCNT |= BG2_ENABLE; |
When i do this all the tile data is garbled. What else do i need to change?