menu bg, pc linux build

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@34 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-02-09 22:09:07 +00:00
parent 85f8e92973
commit e11c55481f
6 changed files with 141 additions and 48 deletions

View file

@ -236,11 +236,21 @@ void gp2x_video_flip(void)
gdk_threads_leave();
}
void gp2x_video_flip2(void)
{
gp2x_video_flip();
}
void gp2x_video_changemode(int bpp)
{
current_bpp = bpp;
}
void gp2x_video_changemode2(int bpp)
{
current_bpp = bpp;
}
void gp2x_video_setpalette(int *pal, int len)
{
memcpy(current_pal, pal, len*4);
@ -261,6 +271,10 @@ void gp2x_memset_all_buffers(int offset, int byte, int len)
memset((char *)gp2x_screen + offset, byte, len);
}
void gp2x_pd_clone_buffer2(void)
{
memset(gp2x_screen, 0, 320*240);
}
/* sound */
static int s_oldrate = 0, s_oldbits = 0, s_oldstereo = 0;