notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
standalone: revive spu_c64x build
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
spu_c64x.h
diff --git
a/plugins/dfsound/spu_c64x.h
b/plugins/dfsound/spu_c64x.h
index
7c4d565
..
dd07da1
100644
(file)
--- a/
plugins/dfsound/spu_c64x.h
+++ b/
plugins/dfsound/spu_c64x.h
@@
-1,3
+1,9
@@
+#ifndef __P_SPU_C64X_H__
+#define __P_SPU_C64X_H__
+
+#include "externals.h"
+#include "spu_config.h"
+
#define COMPONENT_NAME "pcsxr_spu"
enum {
#define COMPONENT_NAME "pcsxr_spu"
enum {
@@
-7,10
+13,10
@@
enum {
struct region_mem {
unsigned char spu_ram[512 * 1024];
struct region_mem {
unsigned char spu_ram[512 * 1024];
-
int SB[SB_SIZE * 24
];
+
sample_buf sb_thread[MAXCHAN
];
// careful not to lose ARM writes by DSP overwriting
// with old data when it's writing out neighbor cachelines
// careful not to lose ARM writes by DSP overwriting
// with old data when it's writing out neighbor cachelines
- int _pad1[128/4 - ((
SB_SIZE * 2
4) & (128/4 - 1))];
+ int _pad1[128/4 - ((
sizeof(sample_buf) * MAXCHAN /
4) & (128/4 - 1))];
struct spu_in {
// these are not to be modified by DSP
SPUCHAN s_chan[24 + 1];
struct spu_in {
// these are not to be modified by DSP
SPUCHAN s_chan[24 + 1];
@@
-26,3
+32,5
@@
struct region_mem {
};
#define ACTIVE_CNT 3
};
#define ACTIVE_CNT 3
+
+#endif /* __P_SPU_C64X_H__ */