From 07f13e79ca03c2a774851ecc65e0defb75b05cfb Mon Sep 17 00:00:00 2001
From: Ian C <ianc@noddybox.co.uk>
Date: Tue, 23 Nov 2010 08:10:25 +0000
Subject: Fixed priority of layers

---
 source/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/main.c b/source/main.c
index 15a6aad..3ce9d7f 100644
--- a/source/main.c
+++ b/source/main.c
@@ -318,8 +318,8 @@ int main(int argc, char *argv[])
     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, 0);
-    bgSetPriority(main_text_overlay_bg, 1);
+    bgSetPriority(main_bitmap_bg, 1);
+    bgSetPriority(main_text_overlay_bg, 0);
 
     BG_PALETTE[0] = RGB15(31,31,31);
     BG_PALETTE[1] = RGB15(0,0,0);
@@ -339,8 +339,8 @@ int main(int argc, char *argv[])
     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, 0);
-    bgSetPriority(sub_text_overlay_bg, 1);
+    bgSetPriority(sub_bitmap_bg, 1);
+    bgSetPriority(sub_text_overlay_bg, 0);
 
     /* Tell 'framebuffer' routines to use this
     */
-- 
cgit v1.2.3