mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
some skinning capabilities
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@225 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
a9b3ffd3cc
commit
a12e011623
21 changed files with 606 additions and 252 deletions
|
@ -257,13 +257,18 @@ void gp2x_video_setpalette(int *pal, int len)
|
|||
memcpy(current_pal, pal, len*4);
|
||||
}
|
||||
|
||||
void gp2x_video_flush_cache(void)
|
||||
{
|
||||
}
|
||||
|
||||
void gp2x_video_RGB_setscaling(int v_offs, int W, int H)
|
||||
{
|
||||
}
|
||||
|
||||
void gp2x_memcpy_buffers(int buffers, void *data, int offset, int len)
|
||||
{
|
||||
memcpy((char *)gp2x_screen + offset, data, len);
|
||||
if ((char *)gp2x_screen + offset != data)
|
||||
memcpy((char *)gp2x_screen + offset, data, len);
|
||||
}
|
||||
|
||||
void gp2x_memcpy_all_buffers(void *data, int offset, int len)
|
||||
|
@ -279,7 +284,7 @@ void gp2x_memset_all_buffers(int offset, int byte, int len)
|
|||
|
||||
void gp2x_pd_clone_buffer2(void)
|
||||
{
|
||||
memset(gp2x_screen, 0, 320*240);
|
||||
memset(gp2x_screen, 0, 320*240*2);
|
||||
}
|
||||
|
||||
/* sound */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue