X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fgp2x.h;h=b61b853470d048decba708d166e477ee718472ff;hb=7e4c661a2732e77cb004bd3c47e32ef1a1a9a639;hp=9883b22ad801b0aa3f267c64a5be9720f5a6c3f7;hpb=860c6322c346c8e2ec2a4626e79f26d8b0d23777;p=picodrive.git diff --git a/platform/gp2x/gp2x.h b/platform/gp2x/gp2x.h index 9883b22..b61b853 100644 --- a/platform/gp2x/gp2x.h +++ b/platform/gp2x/gp2x.h @@ -12,20 +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);