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
log unhandled io more clearly
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
spu.h
diff --git
a/plugins/dfsound/spu.h
b/plugins/dfsound/spu.h
index
23425d9
..
334c680
100644
(file)
--- a/
plugins/dfsound/spu.h
+++ b/
plugins/dfsound/spu.h
@@
-18,8
+18,16
@@
#ifndef __P_SPU_H__
\r
#define __P_SPU_H__
\r
\r
#ifndef __P_SPU_H__
\r
#define __P_SPU_H__
\r
\r
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
\r
+#define HTOLE16(x) __builtin_bswap16(x)
\r
+#define LE16TOH(x) __builtin_bswap16(x)
\r
+#else
\r
+#define HTOLE16(x) (x)
\r
+#define LE16TOH(x) (x)
\r
+#endif
\r
+
\r
void ClearWorkingState(void);
\r
void ClearWorkingState(void);
\r
-void CALLBACK SPUplayADPCMchannel(xa_decode_t *xap);
\r
-int CALLBACK SPUplayCDDAchannel(short *pcm, int bytes);
\r
+void CALLBACK SPUplayADPCMchannel(xa_decode_t *xap
, unsigned int cycle, int is_start
);
\r
+int CALLBACK SPUplayCDDAchannel(short *pcm, int bytes
, unsigned int cycle, int is_start
);
\r
\r
#endif /* __P_SPU_H__ */
\r
\r
#endif /* __P_SPU_H__ */
\r