diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-09 20:49:54 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-09 20:49:54 +0000 |
| commit | 4d55a8b8254dff61fdc7b1959f6aef7eafbd9439 (patch) | |
| tree | fb5e56131a7c8b729641c70e7a87883ebaea5186 /libpcsxcore/cdriso.c | |
| parent | 71d6c56271e2650b1a2f5149521a5b1896084710 (diff) | |
Patch 10767 (Durandal_1707).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/cdriso.c')
| -rw-r--r-- | libpcsxcore/cdriso.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index 6b075d18..03baad3f 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -29,6 +29,7 @@ #else
#include <pthread.h>
#include <sys/time.h>
+#include <unistd.h>
#endif
static FILE *cdHandle = NULL;
@@ -269,7 +270,7 @@ static void *playthread(void *param) // Vib Ribbon: decoded buffer IRQ
- iso_play_cdbuf = sndbuffer;
+ iso_play_cdbuf = (u16 *)sndbuffer;
iso_play_bufptr = 0;
}
|
