X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fgp2x.h;h=b61b853470d048decba708d166e477ee718472ff;hb=8c2a36616608c764fe7e3dc87886f848a1b5481c;hp=bddfc29cd757557b43f2a70c45f64db492e7f3ff;hpb=e11c55481f1703298b3e7e213f73cec8a136f974;p=picodrive.git diff --git a/platform/gp2x/gp2x.h b/platform/gp2x/gp2x.h index bddfc29..b61b853 100644 --- a/platform/gp2x/gp2x.h +++ b/platform/gp2x/gp2x.h @@ -12,19 +12,17 @@ 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); -void gp2x_sound_write(void *buff, int len); -void gp2x_sound_volume(int l, int r); - -/* joy */ +/* input */ unsigned long gp2x_joystick_read(int allow_usb_joy); +int gp2x_touchpad_read(int *x, int *y); /* 940 core */ void Pause940(int yes);