gp2x: disable some layers
authornotaz <notasas@gmail.com>
Sun, 29 Jun 2008 21:19:10 +0000 (21:19 +0000)
committernotaz <notasas@gmail.com>
Sun, 29 Jun 2008 21:19:10 +0000 (21:19 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@503 be3aeb3a-fb24-0410-a615-afba39da0efa

gp2x/gp2x.c

index 5f38314..7706e41 100644 (file)
@@ -332,6 +332,8 @@ void gp2x_init(void)
        }\r
        gp2x_memregl = (unsigned long *) gp2x_memregs;\r
 \r
+       gp2x_memregs[0x2880>>1] &= ~0x383; // disable cursor, subpict, osd, video layers\r
+\r
        gp2x_screens[0] = mmap(0, FRAMEBUFF_WHOLESIZE, PROT_WRITE, MAP_SHARED, memdev, FRAMEBUFF_ADDR0);\r
        if(gp2x_screens[0] == MAP_FAILED)\r
        {\r