From c069f20b54965ea0ad89c1010e549480bd018b76 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Thu, 27 Aug 2009 14:13:08 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@27879 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/plugins.c | 1 + libpcsxcore/plugins.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'libpcsxcore') 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 -- cgit v1.2.3