X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin.c;h=d9eb04a40be1070f06700a79daf1293c6de16af8;hp=c3c104af3945193dd1c39391885f1a92dbcb16d7;hb=HEAD;hpb=38b8a211aad8d2c485ccf0c0cbb58d965aac3483 diff --git a/frontend/plugin.c b/frontend/plugin.c index c3c104af..b3ad3bd9 100644 --- a/frontend/plugin.c +++ b/frontend/plugin.c @@ -41,6 +41,7 @@ static long CALLBACK CDRgetStatus(struct CdrStat *_) { return 0; } static char * CALLBACK CDRgetDriveLetter(void) { return NULL; } static long CALLBACK CDRreadCDDA(unsigned char _, unsigned char __, unsigned char ___, unsigned char *____) { return 0; } static long CALLBACK CDRgetTE(unsigned char _, unsigned char *__, unsigned char *___, unsigned char *____) { return 0; } +static long CALLBACK CDRprefetch(unsigned char m, unsigned char s, unsigned char f) { return 1; } /* GPU */ static void CALLBACK GPUdisplayText(char *_) { return; } @@ -122,7 +123,7 @@ extern void GPUwriteDataMem(uint32_t *, int); extern uint32_t GPUreadStatus(void); extern uint32_t GPUreadData(void); extern void GPUreadDataMem(uint32_t *, int); -extern long GPUdmaChain(uint32_t *, uint32_t, uint32_t *); +extern long GPUdmaChain(uint32_t *, uint32_t, uint32_t *, int32_t *); extern void GPUupdateLace(void); extern long GPUfreeze(uint32_t, void *); extern void GPUvBlank(int, int); @@ -163,6 +164,7 @@ static const struct { DIRECT_CDR(CDRsetfilename), DIRECT_CDR(CDRreadCDDA), DIRECT_CDR(CDRgetTE), + DIRECT_CDR(CDRprefetch), /* SPU */ DIRECT_SPU(SPUinit), DIRECT_SPU(SPUshutdown), @@ -219,8 +221,6 @@ static const struct { DIRECT_GPU(GPUkeypressed), DIRECT_GPU(GPUmakeSnapshot), DIRECT_GPU(GPUconfigure), - DIRECT_GPU(GPUtest), - DIRECT_GPU(GPUabout), DIRECT_GPU(GPUgetScreenPic), DIRECT_GPU(GPUshowScreenPic), */