X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fgp2x.h;h=5bebe74cdba8f2a820c084c21b774ea08eeff03b;hb=e54507e8567e1f52954ced5f85737195ee65c7b5;hp=3d0db137f4f27509e930ece24608618f4379ef09;hpb=7b3f44c6b677a60b63b092f825a2b6c58166b70c;p=picodrive.git diff --git a/platform/gp2x/gp2x.h b/platform/gp2x/gp2x.h index 3d0db13..5bebe74 100644 --- a/platform/gp2x/gp2x.h +++ b/platform/gp2x/gp2x.h @@ -20,14 +20,7 @@ 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); -void gp2x_sound_sync(void); - /* input */ -unsigned long gp2x_joystick_read(int allow_usb_joy); int gp2x_touchpad_read(int *x, int *y); /* 940 core */ @@ -35,13 +28,7 @@ void Pause940(int yes); void Reset940(int yes, int bank); -extern void *gp2x_screen; extern int memdev; -enum { GP2X_UP=0x1, GP2X_LEFT=0x4, GP2X_DOWN=0x10, GP2X_RIGHT=0x40, - GP2X_START=1<<8, GP2X_SELECT=1<<9, GP2X_L=1<<10, GP2X_R=1<<11, - GP2X_A=1<<12, GP2X_B=1<<13, GP2X_X=1<<14, GP2X_Y=1<<15, - GP2X_VOL_UP=1<<23, GP2X_VOL_DOWN=1<<22, GP2X_PUSH=1<<27 }; - #endif