diff options
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | libpcsxcore/plugins.c | 1 | ||||
| -rw-r--r-- | libpcsxcore/plugins.h | 2 |
3 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +August 27, 2009 Wei Mingzhi <weimingzhi@gmail.com> + + * libpcsxcore/plugins.h: Added prototype and interface for + SPUplayCDDAchannel(). + * libpcsxcore/plugins.c: Likewise. + August 26, 2009 Wei Mingzhi <weimingzhi@gmail.com> * win32/pcsx.rc: Completed the Cheat Search dialog. diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index c2a112e0..6717f216 100644 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -495,6 +495,7 @@ int LoadSPUplugin(char *SPUdll) { LoadSpuSym0(freeze, "SPUfreeze"); LoadSpuSym0(registerCallback, "SPUregisterCallback"); LoadSpuSymN(async, "SPUasync"); + LoadSpuSymN(playCDDAchannel, "SPUplayCDDAchannel"); return 0; } diff --git a/libpcsxcore/plugins.h b/libpcsxcore/plugins.h index 1394d48c..a6de52f5 100644 --- a/libpcsxcore/plugins.h +++ b/libpcsxcore/plugins.h @@ -203,6 +203,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);
//SPU POINTERS
SPUconfigure SPU_configure;
@@ -233,6 +234,7 @@ SPUplayADPCMchannel SPU_playADPCMchannel; SPUfreeze SPU_freeze;
SPUregisterCallback SPU_registerCallback;
SPUasync SPU_async;
+SPUplayCDDAchannel SPU_playCDDAchannel;
// PAD Functions
|
