mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
gp2x: disable some layers
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@503 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
260f1bcc8a
commit
06796143f5
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue