From 06796143f58b20d64aac78084be2feb0f099e6d9 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/platform@503 be3aeb3a-fb24-0410-a615-afba39da0efa --- gp2x/gp2x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gp2x/gp2x.c b/gp2x/gp2x.c index 5f38314..7706e41 100644 --- a/gp2x/gp2x.c +++ b/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