X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin.c;fp=frontend%2Fplugin.c;h=2492f4ae237eac2dfe3150a3e4b1f83f8e56898e;hp=853fb1545fd1b890a1fc28fe71a600935db9c903;hb=983a7cfdccceaa612267a1b045110b4f831d1495;hpb=4600ba0381ea86bdfdcba8f4f762c89f5c51af5b diff --git a/frontend/plugin.c b/frontend/plugin.c index 853fb154..2492f4ae 100644 --- a/frontend/plugin.c +++ b/frontend/plugin.c @@ -38,7 +38,7 @@ extern long SPUtest(void); extern void SPUabout(void); extern long SPUfreeze(unsigned int, void *); extern void SPUasync(unsigned int); -extern void SPUplayCDDAchannel(short *, int); +extern int SPUplayCDDAchannel(short *, int); /* PAD */ static long PADreadPort1(PadDataS *pad) @@ -262,7 +262,7 @@ pc_hook_func (SPU_writeDMAMem, (unsigned short *a0, int a1), (a0, a pc_hook_func (SPU_readDMAMem, (unsigned short *a0, int a1), (a0, a1), PCNT_SPU) pc_hook_func (SPU_playADPCMchannel, (void *a0), (a0), PCNT_SPU) pc_hook_func (SPU_async, (unsigned int a0), (a0), PCNT_SPU) -pc_hook_func (SPU_playCDDAchannel, (short *a0, int a1), (a0, a1), PCNT_SPU) +pc_hook_func_ret(int, SPU_playCDDAchannel, (short *a0, int a1), (a0, a1), PCNT_SPU) #define hook_it(name) { \ o_##name = name; \