Commit Graph

215 Commits

Author SHA1 Message Date
Dave Murphy
36b712eb75 correct year in _FAT_filetime_to_time_t 2009-05-01 07:57:13 +00:00
Dave Murphy
22f264e5fd set access and modify times on dir creation 2009-05-01 07:56:08 +00:00
Dave Murphy
52def810fc patch applied from https://sourceforge.net/tracker/?func=detail&aid=2721592&group_id=114505&atid=668551 2009-05-01 07:37:36 +00:00
Dave Murphy
116092466a exclude svn directories 2009-05-01 00:36:01 +00:00
Dave Murphy
2266f93113 applied patch http://sourceforge.net/tracker2/?func=detail&aid=1983783&group_id=114505&atid=668553 2009-03-13 08:34:32 +00:00
Dave Murphy
807f1920eb bump version for next release 2008-12-23 17:57:59 +00:00
Michael Chisholm
f1f2735ea9 Use $(MAKE) instead of platform specific make, thanks to dhewg 2008-12-23 13:01:47 +00:00
Michael Chisholm
18e980f050 Add missing unlocks to _FAT_fread_r, thanks to dhewg 2008-12-23 12:58:17 +00:00
Dave Murphy
4e6b2672c7 add versioning & version header 2008-12-13 11:43:53 +00:00
Michael Chisholm
145e2cc9d3 Truncated files are modified upon opening 2008-12-13 03:14:54 +00:00
Michael Chisholm
2a239bcd2b Remove left-over debugging code 2008-12-13 02:18:40 +00:00
Dave Murphy
4d5a03f03c rearrange structs in size order, initialise partition open file list 2008-12-10 14:26:58 +00:00
Michael Chisholm
d7e584d6e5 Removed memcard drivers for Wii 2008-12-10 08:22:35 +00:00
Dave Murphy
9a61155c18 remove nitrofs from libfat 2008-12-03 21:39:19 +00:00
Michael Chisholm
aa0d8773da Removed superfluous debug messages 2008-12-01 23:57:00 +00:00
Dave Murphy
71b1b585b8 ifdef debug code 2008-12-01 18:52:22 +00:00
Michael Chisholm
198df1272d Reload partition boot sector when sector 0 is an MBR 2008-11-30 07:12:08 +00:00
Michael Chisholm
94c4eac0cb Read/write contigious clusters in one operation to improve speed. 2008-11-22 13:37:16 +00:00
Michael Wiedenbauer
c0c2a463f6 prepended __ to the io_x exports 2008-11-20 14:18:42 +00:00
Michael Chisholm
9501328dca Added disc.c -- wrapper for DISC_INTERFACEs. 2008-11-20 05:32:59 +00:00
Michael Chisholm
2cc2cc2e39 Moved disc interfaces to appropriate libraries (DLDI to libnds, SD/USB to libogc).
Changed read/write functions to use size_t and seek function to use off_t -- will help on 64 bit platforms.
Partitions no longer specified by fat1:/, fat2:/, etc.
Use "nice" device names. On GBA/NDS the default partition is still fat:/; however on Wii and GC sd:/, usb:/, etc. are used instead.
Added fsync and ftruncate functions.
Mount and unmount no longer startup/shutdown the device, this is the job of the host app.
Mount now accepts a partition start parameter.
Used standard types, eg uint32_t instead of u32.
Archive bit is set when closing/synchronizing a modified file.
Various minor bug fixes.
2008-11-20 05:22:28 +00:00
Dave Murphy
841c1a692c files moved to libogc 2008-11-14 16:47:24 +00:00
Michael Chisholm
03bed3a1bd Only set append position when file is opened for append, as suggested by rodries. Improves open speed for large files. 2008-09-12 11:18:09 +00:00
Michael Chisholm
d72dcb0384 Fixed unlink not freeing cluster chains 2008-09-11 08:54:23 +00:00
Michael Chisholm
bfb4d60d1f Don't read high 16 bits of start cluster from a directory entry on non-FAT32 partititions, in case it contains non-zero data 2008-09-08 08:28:17 +00:00
Michael Chisholm
783ea08837 Added CLUSTER_ROOT definition 2008-08-16 14:12:56 +00:00
Michael Chisholm
c01d5f3e69 Correct cluster given on FAT32 when .. entry is included in path to subdirectory.
Fixed creation of long filename entry for all-caps filenames longer than 8 characters.
2008-08-02 04:22:47 +00:00
Dave Murphy
e6b8be341d disable sdgecko on Wii 2008-05-25 14:52:04 +00:00
Dave Murphy
486efc2bc9 files added by http://sourceforge.net/tracker/?func=detail&atid=668553&aid=1970541&group_id=114505 2008-05-23 21:54:50 +00:00
Dave Murphy
8b9d437f76 add locks for threaded systems.
fix eof conditions
https://sourceforge.net/tracker/?func=detail&atid=668553&aid=1970541&group_id=114505
2008-05-23 19:37:46 +00:00
Dave Murphy
8843a36ea2 remove unneeded ldflags 2008-05-23 19:36:41 +00:00
Dave Murphy
cc1480bf9a calculate remaining space 2008-05-23 10:38:18 +00:00
Dave Murphy
a839587b4d correct initial path setting from argv 2008-05-23 10:37:33 +00:00
Dave Murphy
25b615836f simplified read/write position reset 2008-05-14 13:01:15 +00:00
Dave Murphy
ef3f19697c get time & date on Wii/cube too 2008-05-12 16:38:50 +00:00
Dave Murphy
ad1161c083 reset read/write position properly on first cluster allocation 2008-05-12 16:10:42 +00:00
Michael Chisholm
8d36ebe061 Modified WinterMute's seek then write fix for elegance, removed
resetPosition
2008-05-12 09:35:18 +00:00
Dave Murphy
02d3e47079 really add nitrofs support 2008-05-12 09:03:45 +00:00
Dave Murphy
a6dd89dbe4 Only reset file->currentPostion on first creation 2008-05-12 02:52:12 +00:00
Dave Murphy
46df48ba21 add libogc port and nitroFS support 2008-05-10 19:35:18 +00:00
Dave Murphy
5b9bfaecf0 commit bushing's endianess fixes 2008-05-01 10:02:19 +00:00
Dave Murphy
33af69e193 add libogc folder
update makefiles for easier building of separate targets
2008-05-01 09:57:23 +00:00
Dave Murphy
7311c4f757 remove separate cube & wii folders 2008-05-01 09:49:05 +00:00
Michael Chisholm
bef33572eb Fixed _FAT_cache_constructor to return NULL on error, not false
Fixed _FAT_cache_flush to return false on error. With thanks to xorloser
2008-05-01 09:31:34 +00:00
Dave Murphy
23a406ddd1 First pass at gamecube/wii support 2008-03-16 18:06:25 +00:00
Dave Murphy
82c3168c36 use <nds/ndstypes.h> 2008-02-12 16:14:39 +00:00
Dave Murphy
b34e817e2f remove lib folder creation from top level make.
fix generation of TOPDIR in subdirectories.
2007-12-21 09:30:15 +00:00
Michael Chisholm
64012781ef Fixed LFN creation with character codes > 0x7F 2007-11-16 10:49:52 +00:00
Michael Chisholm
62745e4b21 Fixed alias creation bugs 2007-11-04 09:52:39 +00:00
Michael Chisholm
634887aa0f A cluster is only allocated for a file when data is written, instead of when the file is opened
file_extend_r renamed to _FAT_file_extend_r
2007-11-04 09:51:31 +00:00