X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fgp2x.h;h=2d2e535ea9b627c06ba5a02485cde09bdc9554ce;hb=b4c711c35a6f8db52e86703cd9a9011a0aaa9fa5;hp=113f674bfad16554bf29081566ef2f4c47579315;hpb=720ee7f6244cb51cc123a7fd16832161db9a3b4d;p=libpicofe.git diff --git a/gp2x/gp2x.h b/gp2x/gp2x.h index 113f674..2d2e535 100644 --- a/gp2x/gp2x.h +++ b/gp2x/gp2x.h @@ -8,12 +8,17 @@ void gp2x_deinit(void); /* video */ void gp2x_video_flip(void); +void gp2x_video_flip2(void); void gp2x_video_changemode(int bpp); +void gp2x_video_changemode2(int bpp); void gp2x_video_setpalette(int *pal, int len); -void gp2x_video_RGB_setscaling(int W, int H); +void gp2x_video_RGB_setscaling(int ln_offs, int W, int H); void gp2x_video_wait_vsync(void); +void gp2x_video_flush_cache(void); +void gp2x_memcpy_buffers(int buffers, void *data, int offset, int len); void gp2x_memcpy_all_buffers(void *data, int offset, int len); void gp2x_memset_all_buffers(int offset, int byte, int len); +void gp2x_pd_clone_buffer2(void); /* sound */ void gp2x_start_sound(int rate, int bits, int stereo); @@ -25,7 +30,7 @@ unsigned long gp2x_joystick_read(int allow_usb_joy); /* 940 core */ void Pause940(int yes); -void Reset940(int yes); +void Reset940(int yes, int bank); extern void *gp2x_screen;