From 2100fc9b715f07274ce913f15d2681b2e7fa5692 Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 29 Jun 2008 21:19:10 +0000 Subject: [PATCH] gp2x: disable some layers git-svn-id: file:///home/notaz/opt/svn/PicoDrive@503 be3aeb3a-fb24-0410-a615-afba39da0efa --- platform/gp2x/gp2x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/gp2x/gp2x.c b/platform/gp2x/gp2x.c index 5f38314d..7706e41a 100644 --- a/platform/gp2x/gp2x.c +++ b/platform/gp2x/gp2x.c @@ -332,6 +332,8 @@ void gp2x_init(void) } gp2x_memregl = (unsigned long *) gp2x_memregs; + gp2x_memregs[0x2880>>1] &= ~0x383; // disable cursor, subpict, osd, video layers + gp2x_screens[0] = mmap(0, FRAMEBUFF_WHOLESIZE, PROT_WRITE, MAP_SHARED, memdev, FRAMEBUFF_ADDR0); if(gp2x_screens[0] == MAP_FAILED) { -- 2.39.5