aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfsound/spu_c64x.h
diff options
context:
space:
mode:
authornotaz2015-01-10 01:55:24 +0200
committernotaz2015-01-10 01:57:55 +0200
commit3bd31caf9e9f5ddab2bf4fbdb5a129f4972c45f3 (patch)
tree3035dee6dad211c86861f2b827ff3130b8361220 /plugins/dfsound/spu_c64x.h
parentde4a0279efefdd2e4595c8fc27f1564f4bff9341 (diff)
downloadpcsx_rearmed-3bd31caf9e9f5ddab2bf4fbdb5a129f4972c45f3.tar.gz
pcsx_rearmed-3bd31caf9e9f5ddab2bf4fbdb5a129f4972c45f3.tar.bz2
pcsx_rearmed-3bd31caf9e9f5ddab2bf4fbdb5a129f4972c45f3.zip
spu: support multiple pending buffers
for threaded implementation
Diffstat (limited to 'plugins/dfsound/spu_c64x.h')
-rw-r--r--plugins/dfsound/spu_c64x.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/dfsound/spu_c64x.h b/plugins/dfsound/spu_c64x.h
index d4e73e9..bb20cc3 100644
--- a/plugins/dfsound/spu_c64x.h
+++ b/plugins/dfsound/spu_c64x.h
@@ -7,12 +7,10 @@ enum {
struct region_mem {
unsigned char spu_ram[512 * 1024];
- int RVB[NSSIZE * 2];
- int SSumLR[NSSIZE * 2];
int SB[SB_SIZE * 24];
// careful not to lose ARM writes by DSP overwriting
// with old data when it's writing out neighbor cachelines
- int _pad1[128/4 - ((NSSIZE * 4 + SB_SIZE * 24) & (128/4 - 1))];
+ int _pad1[128/4 - ((SB_SIZE * 24) & (128/4 - 1))];
SPUCHAN s_chan[24 + 1];
int _pad2[128/4 - ((sizeof(SPUCHAN) * 25 / 4) & (128/4 - 1))];
struct spu_worker worker;
@@ -20,6 +18,7 @@ struct region_mem {
// init/debug
int sizeof_region_mem;
int offsetof_s_chan1;
- int offsetof_worker_ram;
+ int offsetof_spos_3_20;
};
+#define ACTIVE_CNT 3