From 74144a9957c7e78c91dfd309c263263cf958ed83 Mon Sep 17 00:00:00 2001 From: "SND\\edgbla_cp" Date: Fri, 6 Sep 2013 09:05:16 +0000 Subject: small fix (windows); git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87093 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/cdriso.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libpcsxcore/cdriso.c') diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index dd455cd1..6548e787 100755 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -707,11 +707,12 @@ static int parsecue(const char *isofile) { // Check if extension is mp3, etc, and send to decoder if not lazy decoding if ((ti[numtracks + 1].cddatype = get_cdda_type(filepath)) > BIN) { int seconds = get_compressed_cdda_track_length(filepath) + 0; + const boolean lazy_decode = TRUE; // TODO: config param + ti[numtracks + 1].len_decoded_buffer = 44100 * (16/8) * 2 * seconds; strcpy(ti[numtracks + 1].filepath, filepath); file_len = ti[numtracks + 1].len_decoded_buffer/2352; - const boolean lazy_decode = TRUE; // TODO: config param if (!lazy_decode) { // accurate length do_decode_cdda(&(ti[numtracks + 1]), numtracks + 1); fseek(ti[numtracks + 1].handle, 0, SEEK_END); -- cgit v1.2.3