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
spu: patch up more savestate issues
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
xa.c
diff --git
a/plugins/dfsound/xa.c
b/plugins/dfsound/xa.c
index
08afc00
..
b3ac01d
100644
(file)
--- a/
plugins/dfsound/xa.c
+++ b/
plugins/dfsound/xa.c
@@
-413,8
+413,10
@@
void FeedCDDA(unsigned char *pcm, int nBytes)
{
int space;
space=(spu.CDDAPlay-spu.CDDAFeed-1)*4 & (CDDA_BUFFER_SIZE - 1);
{
int space;
space=(spu.CDDAPlay-spu.CDDAFeed-1)*4 & (CDDA_BUFFER_SIZE - 1);
- if(space<nBytes)
+ if (space < nBytes) {
+ log_unhandled("FeedCDDA: %d/%d\n", nBytes, space);
return;
return;
+ }
while(nBytes>0)
{
while(nBytes>0)
{