diff options
author | aliaspider | 2015-11-04 18:17:04 +0100 |
---|---|---|
committer | aliaspider | 2015-11-04 18:17:04 +0100 |
commit | d2100979fd519b40c61dbdc6808120755513c88a (patch) | |
tree | 44df448bc43815273f6ceb8a8d33aab6291eb80f /src/gp2x_sdk.h | |
parent | 0e70c7f861ed41b86be891882d08cd0fa0530d55 (diff) | |
download | snes9x2002-d2100979fd519b40c61dbdc6808120755513c88a.tar.gz snes9x2002-d2100979fd519b40c61dbdc6808120755513c88a.tar.bz2 snes9x2002-d2100979fd519b40c61dbdc6808120755513c88a.zip |
cleanups
Diffstat (limited to 'src/gp2x_sdk.h')
-rw-r--r-- | src/gp2x_sdk.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/src/gp2x_sdk.h b/src/gp2x_sdk.h deleted file mode 100644 index 1ae2c3d..0000000 --- a/src/gp2x_sdk.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef _GP2X_SDK_H_
-#define _GP2X_SDK_H_
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define SOUND_THREAD_SOUND_ON 1
-#define SOUND_THREAD_SOUND_OFF 2
-#define SOUND_THREAD_PAUSE 3
-
-#define INP_BUTTON_UP (0)
-#define INP_BUTTON_LEFT (2)
-#define INP_BUTTON_DOWN (4)
-#define INP_BUTTON_RIGHT (6)
-#define INP_BUTTON_START (8)
-#define INP_BUTTON_SELECT (9)
-#define INP_BUTTON_L (10)
-#define INP_BUTTON_R (11)
-#define INP_BUTTON_A (12)
-#define INP_BUTTON_B (13)
-#define INP_BUTTON_X (14)
-#define INP_BUTTON_Y (15)
-#define INP_BUTTON_VOL_UP (23)
-#define INP_BUTTON_VOL_DOWN (22)
-#define INP_BUTTON_STICK_PUSH (27)
-
-void gp_setClipping(int x1, int y1, int x2, int y2);
-void gp_drawString (int x,int y,int len,char *buffer,unsigned short color,void *framebuffer);
-void gp_clearFramebuffer16(unsigned short *framebuffer, unsigned short pal);
-void gp_clearFramebuffer8(unsigned char *framebuffer, unsigned char pal);
-void gp_clearFramebuffer(void *framebuffer, unsigned int pal);
-void gp_setCpuspeed(unsigned int cpuspeed);
-void gp_initGraphics(unsigned short bpp, int flip, int applyMmuHack);
-void gp_setFramebuffer(int flip, int sync);
-void gp2x_video_setpalette(void);
-int gp_initSound(int rate, int bits, int stereo, int Hz, int frag);
-void gp_stopSound(void);
-void gp_Reset(void);
-void gp2x_enableIRQ(void);
-void gp2x_disableIRQ(void);
-void gp_sound_volume(int l, int r);
-unsigned long gp_timer_read(void);
-unsigned int gp_getButton(unsigned char enable_diagnals);
-void gp_video_RGB_setscaling(int W, int H);
-void gp2x_sound_play_bank(int bank);
-void gp2x_sound_sync(void);
-void set_gamma(int g100);
-void set_RAM_Timings(int tRC, int tRAS, int tWR, int tMRD, int tRFC, int tRP, int tRCD);
-
-extern volatile int SoundThreadFlag;
-extern volatile int CurrentSoundBank;
-extern int CurrentFrameBuffer;
-extern volatile short *pOutput[];
-extern unsigned short *framebuffer16[];
-extern unsigned long gp2x_physvram[];
-extern unsigned char *framebuffer8[];
-extern volatile unsigned short gp2x_palette[512][2];
-extern volatile unsigned short *gp2x_memregs;
-extern volatile unsigned long *gp2x_memregl;
-extern volatile unsigned long *gp2x_blitter;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
|