aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/plugins.h
diff options
context:
space:
mode:
authornotaz2014-12-18 23:43:08 +0200
committernotaz2014-12-20 02:57:25 +0200
commit650adfd2da779ba8855623362c2900583e22931e (patch)
treea21fcff316db41dc8661e02748a51bd4430f48f8 /libpcsxcore/plugins.h
parent2b30c1291db9d9801d51cf85f71f40fe54958898 (diff)
downloadpcsx_rearmed-650adfd2da779ba8855623362c2900583e22931e.tar.gz
pcsx_rearmed-650adfd2da779ba8855623362c2900583e22931e.tar.bz2
pcsx_rearmed-650adfd2da779ba8855623362c2900583e22931e.zip
spu: rework synchronization
Diffstat (limited to 'libpcsxcore/plugins.h')
-rw-r--r--libpcsxcore/plugins.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpcsxcore/plugins.h b/libpcsxcore/plugins.h
index 9df55bf..e6ac694 100644
--- a/libpcsxcore/plugins.h
+++ b/libpcsxcore/plugins.h
@@ -184,12 +184,12 @@ typedef long (CALLBACK* SPUinit)(void);
typedef long (CALLBACK* SPUshutdown)(void);
typedef long (CALLBACK* SPUclose)(void);
typedef void (CALLBACK* SPUplaySample)(unsigned char);
-typedef void (CALLBACK* SPUwriteRegister)(unsigned long, unsigned short);
+typedef void (CALLBACK* SPUwriteRegister)(unsigned long, unsigned short, unsigned int);
typedef unsigned short (CALLBACK* SPUreadRegister)(unsigned long);
typedef void (CALLBACK* SPUwriteDMA)(unsigned short);
typedef unsigned short (CALLBACK* SPUreadDMA)(void);
-typedef void (CALLBACK* SPUwriteDMAMem)(unsigned short *, int);
-typedef void (CALLBACK* SPUreadDMAMem)(unsigned short *, int);
+typedef void (CALLBACK* SPUwriteDMAMem)(unsigned short *, int, unsigned int);
+typedef void (CALLBACK* SPUreadDMAMem)(unsigned short *, int, unsigned int);
typedef void (CALLBACK* SPUplayADPCMchannel)(xa_decode_t *);
typedef void (CALLBACK* SPUregisterCallback)(void (CALLBACK *callback)(void));
typedef void (CALLBACK* SPUregisterScheduleCb)(void (CALLBACK *callback)(unsigned int cycles_after));
@@ -205,8 +205,8 @@ typedef struct {
xa_decode_t xa;
unsigned char *SPUInfo;
} SPUFreeze_t;
-typedef long (CALLBACK* SPUfreeze)(uint32_t, SPUFreeze_t *);
-typedef void (CALLBACK* SPUasync)(uint32_t);
+typedef long (CALLBACK* SPUfreeze)(uint32_t, SPUFreeze_t *, uint32_t);
+typedef void (CALLBACK* SPUasync)(uint32_t, uint32_t);
typedef int (CALLBACK* SPUplayCDDAchannel)(short *, int);
// SPU function pointers