Talk about anything related to Gentoox or Gentoo.
- Posts: 42
- Joined: Wed Sep 13, 2006 2:07 pm
For those that may be trying to use SDL on the xbox.. there is a bug in the fbcon rivifb driver that causes it to wait forever and never switch video modes.
Below is the diff for "src/video/fbcon/SDL_fbriva.c" that fixes this problem.
Code: Select all
< (*(mapped_io + PGRAPH_OFFSET + 0x000006B0) & 0x01) )
> (*(mapped_io + PGRAPH_OFFSET + (0x000006B0 / 4)) & 0x01) )
< (*(mapped_io + PGRAPH_OFFSET + 0x00000700) & 0x01) )
> (*(mapped_io + PGRAPH_OFFSET + (0x00000700 / 4)) & 0x01) )
I am unsure if this is xbox specific or not... someone might be able to confirm for me.
Needless to say, SDL is working 100% now
- Site Admin
- Posts: 1973
- Joined: Sun Aug 10, 2003 9:25 pm
- Location: England
The original Xbox adaptation of Gentoo
Who is online
Users browsing this forum: No registered users and 2 guests