Changeset 505 in xtideuniversalbios for trunk/Serial_Server
- Timestamp:
- Feb 25, 2013, 4:23:09 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Serial_Server/win32/Win32File.h
r376 r505 7 7 // Routines for accessing the file system under Win32. It's important 8 8 // to use these direct Win32 calls for large files, since FILE * routines, 9 // in particular ftell() and fseek(), are limite sto signed 32-bits (2 GB).9 // in particular ftell() and fseek(), are limited to signed 32-bits (2 GB). 10 10 // These are also likely faster since they are more direct. 11 // 11 // 12 12 13 13 // 14 // XTIDE Universal BIOS and Associated Tools 14 // XTIDE Universal BIOS and Associated Tools 15 15 // Copyright (C) 2009-2010 by Tomi Tilli, 2011-2012 by XTIDE Universal BIOS Team. 16 16 // … … 19 19 // the Free Software Foundation; either version 2 of the License, or 20 20 // (at your option) any later version. 21 // 21 // 22 22 // This program is distributed in the hope that it will be useful, 23 23 // but WITHOUT ANY WARRANTY; without even the implied warranty of 24 24 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 // GNU General Public License for more details. 25 // GNU General Public License for more details. 26 26 // Visit http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 27 27 // … … 69 69 { 70 70 if( !CloseHandle( fp ) ) 71 log( 0, "'%s', could not close file handle", name ? name : "unknown" ); 71 log( 0, "'%s', could not close file handle", name ? name : "unknown" ); 72 72 } 73 73 } … … 126 126 127 127 // LBA 28 limit - 28-bits (could be 1 more, but not worth pushing it) 128 const static unsigned long MaxSectors = 0xfffffff; 128 const static unsigned long MaxSectors = 0xfffffff; 129 129 #define USAGE_MAXSECTORS "137438 MB (LBA28 limit)" 130 130
Note:
See TracChangeset
for help on using the changeset viewer.