summaryrefslogtreecommitdiff
path: root/libpcsxcore/cdriso.c
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-09-06 09:05:16 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-09-06 09:05:16 +0000
commit74144a9957c7e78c91dfd309c263263cf958ed83 (patch)
treeb0aed5b9489a4c383deb3fcb99c4cac1e69218cc /libpcsxcore/cdriso.c
parent704ab8f7cc436c00c151e5608429737acb2e69ac (diff)
downloadpcsxr-74144a9957c7e78c91dfd309c263263cf958ed83.tar.gz
small fix (windows);
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87093 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/cdriso.c')
-rwxr-xr-xlibpcsxcore/cdriso.c3
1 files changed, 2 insertions, 1 deletions
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);