diff options
-rw-r--r-- | source/main.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/source/main.c b/source/main.c index 010210c..15a6aad 100644 --- a/source/main.c +++ b/source/main.c @@ -315,11 +315,11 @@ int main(int argc, char *argv[]) vramSetBankA(VRAM_A_MAIN_BG_0x06000000); vramSetBankB(VRAM_B_MAIN_BG_0x06020000); - main_bitmap_bg = bgInit(0, BgType_Bmp16, BgSize_B16_256x256, 2, 0); - main_text_overlay_bg = bgInit(3, BgType_Text8bpp, BgSize_T_256x256, 0, 1); + main_bitmap_bg = bgInit(3, BgType_Bmp16, BgSize_B16_256x256, 2, 0); + main_text_overlay_bg = bgInit(0, BgType_Text8bpp, BgSize_T_256x256, 0, 1); - bgSetPriority(main_bitmap_bg, 1); - bgSetPriority(main_text_overlay_bg, 0); + bgSetPriority(main_bitmap_bg, 0); + bgSetPriority(main_text_overlay_bg, 1); BG_PALETTE[0] = RGB15(31,31,31); BG_PALETTE[1] = RGB15(0,0,0); @@ -333,16 +333,14 @@ int main(int argc, char *argv[]) for some pointless frippery! Still be quicker though. */ videoSetModeSub(MODE_4_2D); - videoBgEnableSub(2); - videoBgEnableSub(3); vramSetBankC(VRAM_C_SUB_BG_0x06200000); - sub_bitmap_bg = bgInit(3, BgType_Bmp8, BgSize_B8_256x256, 1, 0); - sub_text_overlay_bg = bgInit(2, BgType_Rotation, BgSize_R_256x256, 4, 0); + sub_bitmap_bg = bgInitSub(3, BgType_Bmp8, BgSize_B8_256x256, 1, 0); + sub_text_overlay_bg = bgInitSub(2, BgType_Rotation, BgSize_R_256x256, 4, 0); - bgSetPriority(sub_bitmap_bg, 1); - bgSetPriority(sub_text_overlay_bg, 0); + bgSetPriority(sub_bitmap_bg, 0); + bgSetPriority(sub_text_overlay_bg, 1); /* Tell 'framebuffer' routines to use this */ |