notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
053fd9b
)
gp2x: disable some layers
author
notaz
<notasas@gmail.com>
Sun, 29 Jun 2008 21:19:10 +0000
(21:19 +0000)
committer
notaz
<notasas@gmail.com>
Sun, 29 Jun 2008 21:19:10 +0000
(21:19 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@503
be3aeb3a
-fb24-0410-a615-
afba39da0efa
platform/gp2x/gp2x.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/gp2x/gp2x.c
b/platform/gp2x/gp2x.c
index
5f38314
..
7706e41
100644
(file)
--- a/
platform/gp2x/gp2x.c
+++ b/
platform/gp2x/gp2x.c
@@
-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