Search
lxdream.org :: lxdream/src/gdrom/gdimage.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdrom/gdimage.c
changeset 669:ab344e42bca9
prev644:ccae4bfa5f82
next678:35eb00945316
author nkeynes
date Mon May 12 10:00:13 2008 +0000 (14 years ago)
permissions -rw-r--r--
last change Cleanup most of the -Wall warnings (getting a bit sloppy...)
Convert FP code to use fixed banks rather than indirect pointer
(3-4% faster this way now)
file annotate diff log raw
1.1 --- a/src/gdrom/gdimage.c Sun Mar 02 11:38:08 2008 +0000
1.2 +++ b/src/gdrom/gdimage.c Mon May 12 10:00:13 2008 +0000
1.3 @@ -151,7 +151,7 @@
1.4 int size = -file_offset;
1.5 if( size >= length ) {
1.6 memset( buf, 0, length );
1.7 - return;
1.8 + return TRUE;
1.9 } else {
1.10 memset( buf, 0, size );
1.11 file_offset = 0;
1.12 @@ -288,7 +288,6 @@
1.13 break;
1.14 }
1.15
1.16 - int mode_restrict = READ_CD_MODE(mode);
1.17 if( !gdrom_is_compatible_read_mode(sector_mode, READ_CD_MODE(mode)) ) {
1.18 return PKT_ERR_BADREADMODE;
1.19 }
.