diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-09-16 10:45:36 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-09-16 10:45:36 +0000 |
| commit | 481101a05a77e2cc5b22cc94a5319748aeb5c031 (patch) | |
| tree | 51bb19d17a4261b22dc82248fb461cd11e8e10dd /libpcsxcore | |
| parent | 35447c717d11a8fe6401f456737a14c95869cabc (diff) | |
| download | pcsxr-481101a05a77e2cc5b22cc94a5319748aeb5c031.tar.gz | |
compilation errors was fixed (cdriso);
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87207 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rwxr-xr-x | libpcsxcore/cdriso.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index 8283d9fd..6d066f38 100755 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -33,6 +33,7 @@ #else #include <sys/time.h> #include <unistd.h> +#include <limits.h> #endif #include <zlib.h> @@ -652,9 +653,9 @@ static int parsecue(const char *isofile) { } } else if (sscanf(linebuf, " TRACK %u MODE%u/%u", &t, &mode, §or_size) == 3) { + s32 accurate_len; // TODO: if 2048 frame length -> recalculate file_len? ti[numtracks].type = DATA; - s32 accurate_len; if (handleecm(filepath, &accurate_len) == 0) {// detect if ECM & get accurate length file_len = accurate_len; } |
