X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fplugins.h;h=f7f624877c8f873457d7be641f2c1130c48729c3;hp=9c24ecefaebb24919d50d6e4805cd036bdce83d2;hb=24de2dd4dbdd50e44c91c40ebbc7d59ee1c0ac9b;hpb=ef79bbde537d6b9c745a7d86cb9df1d04c35590d diff --git a/libpcsxcore/plugins.h b/libpcsxcore/plugins.h index 9c24ecef..f7f62487 100644 --- a/libpcsxcore/plugins.h +++ b/libpcsxcore/plugins.h @@ -60,6 +60,7 @@ int LoadPlugins(); void ReleasePlugins(); int OpenPlugins(); void ClosePlugins(); +int ReloadCdromPlugin(); typedef unsigned long (CALLBACK* PSEgetLibType)(void); typedef unsigned long (CALLBACK* PSEgetLibVersion)(void); @@ -118,7 +119,7 @@ extern GPUfreeze GPU_freeze; extern GPUgetScreenPic GPU_getScreenPic; extern GPUshowScreenPic GPU_showScreenPic; extern GPUclearDynarec GPU_clearDynarec; -extern GPUvBlank GPU_vBlank; +extern GPUvBlank GPU_vBlank; // unused // CD-ROM Functions typedef long (CALLBACK* CDRinit)(void); @@ -150,7 +151,7 @@ struct SubQ { unsigned char IndexNumber; unsigned char TrackRelativeAddress[3]; unsigned char Filler; - unsigned char AbsoluteAddress[3]; + unsigned char AbsoluteAddress[3]; unsigned char CRC[2]; char res1[72]; }; @@ -205,7 +206,7 @@ typedef struct { } SPUFreeze_t; typedef long (CALLBACK* SPUfreeze)(uint32_t, SPUFreeze_t *); typedef void (CALLBACK* SPUasync)(uint32_t); -typedef void (CALLBACK* SPUplayCDDAchannel)(short *, int); +typedef int (CALLBACK* SPUplayCDDAchannel)(short *, int); // SPU function pointers extern SPUconfigure SPU_configure;