aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfsound/spu.c
diff options
context:
space:
mode:
authornotaz2015-02-02 04:13:30 +0200
committernotaz2015-02-02 04:13:30 +0200
commit0c1151feca09186ec61485436912a3e563c40b54 (patch)
tree98a18e8f9e6a09f632df7a9dda6114cb92763043 /plugins/dfsound/spu.c
parent7b2c4897f089ab6eee7bc2ce2873c2b11058e04e (diff)
downloadpcsx_rearmed-0c1151feca09186ec61485436912a3e563c40b54.tar.gz
pcsx_rearmed-0c1151feca09186ec61485436912a3e563c40b54.tar.bz2
pcsx_rearmed-0c1151feca09186ec61485436912a3e563c40b54.zip
spu: c64x: fix cache handling, enable l2
Diffstat (limited to 'plugins/dfsound/spu.c')
-rw-r--r--plugins/dfsound/spu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c
index 193a5d0..8e41d50 100644
--- a/plugins/dfsound/spu.c
+++ b/plugins/dfsound/spu.c
@@ -842,6 +842,7 @@ static struct spu_worker {
unsigned int i_ready;
unsigned int i_reaped;
unsigned int last_boot_cnt; // dsp
+ unsigned int ram_dirty;
};
// aligning for C64X_DSP
unsigned int _pad0[128/4];
@@ -1055,6 +1056,7 @@ static void sync_worker_thread(int force)
done = thread_get_i_done() - worker->i_reaped;
used_space = worker->i_ready - worker->i_reaped;
+
//printf("done: %d use: %d dsp: %u/%u\n", done, used_space,
// worker->boot_cnt, worker->i_done);