X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=libpcsxcore%2Fcdriso.c;h=4a794261384f9db3c2cca00f01f48f5973d0b2c5;hb=175fe1b03060cd901dff1070e192cadb2685195f;hp=37e67d4db9248dadffd58bddb7cd791ae6ae28e9;hpb=9dca6543647a07f8b4e5e69554718a428fd3f88d;p=pcsx_rearmed.git diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index 37e67d4d..4a794261 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -28,7 +28,7 @@ #include #include #ifdef HAVE_CHD -#include +#include #endif #ifdef _WIN32 @@ -115,6 +115,7 @@ long CALLBACK CDR__configure(void); long CALLBACK CDR__test(void); void CALLBACK CDR__about(void); long CALLBACK CDR__setfilename(char *filename); +long CALLBACK CDR__prefetch(u8 m, u8 s, u8 f); static void DecodeRawSubData(void); @@ -1587,7 +1588,7 @@ static unsigned char * CALLBACK ISOgetBuffer_async(void) { } #endif -static unsigned char * CALLBACK ISOgetBuffer(void) { +unsigned char * CALLBACK ISOgetBuffer(void) { return cdbuffer + 12; } @@ -2006,6 +2007,7 @@ void cdrIsoInit(void) { CDR_test = CDR__test; CDR_about = CDR__about; CDR_setfilename = CDR__setfilename; + CDR_prefetch = CDR__prefetch; numtracks = 0; }