#undef CALLBACK
#define CALLBACK
-/* GPU */
-static void CALLBACK GPUdisplayText(char *_) { return; }
-
/* SPU */
#include "../plugins/dfsound/spu.h"
DIRECT_GPU(GPUvBlank),
DIRECT_GPU(GPUgetScreenInfo),
DIRECT_GPU(GPUrearmedCallbacks),
-
- DIRECT_GPU(GPUdisplayText),
-/*
- DIRECT_GPU(GPUkeypressed),
- DIRECT_GPU(GPUmakeSnapshot),
- DIRECT_GPU(GPUconfigure),
- DIRECT_GPU(GPUgetScreenPic),
- DIRECT_GPU(GPUshowScreenPic),
-*/
};
void *plugin_link(enum builtint_plugins_e id, const char *sym)
GPUwriteData GPU_writeData;
GPUwriteDataMem GPU_writeDataMem;
GPUdmaChain GPU_dmaChain;
-GPUkeypressed GPU_keypressed;
-GPUdisplayText GPU_displayText;
-GPUmakeSnapshot GPU_makeSnapshot;
GPUfreeze GPU_freeze;
-GPUgetScreenPic GPU_getScreenPic;
-GPUshowScreenPic GPU_showScreenPic;
GPUvBlank GPU_vBlank;
GPUgetScreenInfo GPU_getScreenInfo;
void *hGPUDriver = NULL;
-void CALLBACK GPU__displayText(char *pText) {
- SysPrintf("%s\n", pText);
-}
-
-long CALLBACK GPU__configure(void) { return 0; }
-long CALLBACK GPU__test(void) { return 0; }
-void CALLBACK GPU__about(void) {}
-void CALLBACK GPU__makeSnapshot(void) {}
-void CALLBACK GPU__keypressed(int key) {}
-long CALLBACK GPU__getScreenPic(unsigned char *pMem) { return -1; }
-long CALLBACK GPU__showScreenPic(unsigned char *pMem) { return -1; }
-void CALLBACK GPU__vBlank(int val) {}
-void CALLBACK GPU__getScreenInfo(int *y, int *base_hres) {}
+static void CALLBACK GPU__vBlank(int val) {}
+static void CALLBACK GPU__getScreenInfo(int *y, int *base_hres) {}
#define LoadGpuSym1(dest, name) \
LoadSym(GPU_##dest, GPU##dest, name, TRUE);
LoadGpuSym1(writeStatus, "GPUwriteStatus");
LoadGpuSym1(dmaChain, "GPUdmaChain");
LoadGpuSym1(updateLace, "GPUupdateLace");
- LoadGpuSym0(keypressed, "GPUkeypressed");
- LoadGpuSym0(displayText, "GPUdisplayText");
- LoadGpuSym0(makeSnapshot, "GPUmakeSnapshot");
LoadGpuSym1(freeze, "GPUfreeze");
- LoadGpuSym0(getScreenPic, "GPUgetScreenPic");
- LoadGpuSym0(showScreenPic, "GPUshowScreenPic");
LoadGpuSym0(vBlank, "GPUvBlank");
LoadGpuSym0(getScreenInfo, "GPUgetScreenInfo");
typedef void (CALLBACK* GPUreadDataMem)(uint32_t *, int);\r
typedef long (CALLBACK* GPUdmaChain)(uint32_t *, uint32_t, uint32_t *, int32_t *);\r
typedef void (CALLBACK* GPUupdateLace)(void);\r
-typedef void (CALLBACK* GPUmakeSnapshot)(void);\r
-typedef void (CALLBACK* GPUkeypressed)(int);\r
-typedef void (CALLBACK* GPUdisplayText)(char *);\r
typedef long (CALLBACK* GPUfreeze)(uint32_t, GPUFreeze_t *);\r
-typedef long (CALLBACK* GPUgetScreenPic)(unsigned char *);\r
-typedef long (CALLBACK* GPUshowScreenPic)(unsigned char *);\r
typedef void (CALLBACK* GPUvBlank)(int, int);\r
typedef void (CALLBACK* GPUgetScreenInfo)(int *, int *);\r
\r
extern GPUwriteData GPU_writeData;\r
extern GPUwriteDataMem GPU_writeDataMem;\r
extern GPUdmaChain GPU_dmaChain;\r
-extern GPUkeypressed GPU_keypressed;\r
-extern GPUdisplayText GPU_displayText;\r
-extern GPUmakeSnapshot GPU_makeSnapshot;\r
extern GPUfreeze GPU_freeze;\r
-extern GPUgetScreenPic GPU_getScreenPic;\r
-extern GPUshowScreenPic GPU_showScreenPic;\r
extern GPUvBlank GPU_vBlank;\r
extern GPUgetScreenInfo GPU_getScreenInfo;\r
\r
char CdromID[9]; // ie. 'SCPH12345', no \0 trailing character\r
char CdromLabel[11];\r
void *psxMem;\r
- GPUshowScreenPic GPU_showScreenPic;\r
- GPUdisplayText GPU_displayText;\r
PADsetSensitive PAD_setSensitive;\r
char GPUpath[256]; // paths must be absolute\r
char SPUpath[256];\r