mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
pandora wip..
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@562 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
b2305d080d
commit
3bb7bd19cf
5 changed files with 142 additions and 29 deletions
|
@ -22,7 +22,8 @@ int memdev = 0;
|
|||
static int sounddev = -1, mixerdev = -1, touchdev = -1;
|
||||
static int touchcal[7] = { 6203, 0, -1501397, 0, -4200, 16132680, 65536 };
|
||||
|
||||
#define SCREEN_MAP_SIZE (((800*(480+11)*2)+0xfff)&~0xfff)
|
||||
//#define SCREEN_MAP_SIZE (((800*(480+11)*2)+0xfff)&~0xfff)
|
||||
#define SCREEN_MAP_SIZE (800*480*2)
|
||||
static void *screen;
|
||||
void *gp2x_screen;
|
||||
|
||||
|
@ -237,7 +238,8 @@ void gp2x_init(void)
|
|||
exit(1);
|
||||
}
|
||||
printf("fbptr %p\n", screen);
|
||||
gp2x_screen = (char *)screen + 800*10*2-64;
|
||||
// gp2x_screen = (char *)screen + 800*10*2-64;
|
||||
gp2x_screen = screen;
|
||||
|
||||
|
||||
// snd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue