summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-09-05 05:05:43 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-09-05 05:05:43 +0000
commit134a993f77034d8af24cd11cc90a1da237a81d58 (patch)
tree163bbe945812d1e0306ce00f997288b609400d4f
parent067dbe9f695cbb9f819b07a5cc9fd5b765b1e28b (diff)
downloadpcsxr-134a993f77034d8af24cd11cc90a1da237a81d58.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@29007 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--libpcsxcore/cdriso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c
index 21ecd95d..d09fda9e 100644
--- a/libpcsxcore/cdriso.c
+++ b/libpcsxcore/cdriso.c
@@ -150,7 +150,7 @@ static void *playthread(void *param)
}
else {
#ifdef _WIN32
- Sleep(1000 * d / CD_FRAMESIZE_RAW / 75 - 80);
+ Sleep(1000 * sizeof(sndbuffer) / CD_FRAMESIZE_RAW / 75 - 80);
#else
usleep(1000 * d / CD_FRAMESIZE_RAW / 75 * 1000);
#endif