Commit Graph

192 Commits

Author SHA1 Message Date
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
Michael Chisholm
28e71f2920 _FAT_fat_nextCluster now returns CLUSTER_FREE when input cluster is CLUSTER_FREE 2007-11-04 09:50:39 +00:00
Michael Chisholm
838cc907d1 Fix off-by-one error for months value 2007-11-04 09:50:02 +00:00
Michael Chisholm
9deb154adb Added unicode support 2007-11-01 06:00:30 +00:00
Michael Chisholm
ccb080a071 Fixed compare against (time_t)-1 2007-10-30 05:59:06 +00:00
Michael Chisholm
2f4af3f8c0 Uses standard POSIX time functions 2007-10-30 02:46:22 +00:00
Michael Chisholm
def250bd28 Use CLUSTER_ERROR when an error occurs with the FAT, not CLUSTER_FREE 2007-10-25 12:55:18 +00:00
Michael Chisholm
8c319ec76a Added statvfs functionality 2007-10-25 12:52:08 +00:00
Michael Chisholm
8cfa906c22 Use CLUSTER_ERROR when an error occurs with the FAT, not CLUSTER_FREE 2007-09-01 07:55:38 +00:00
Michael Chisholm
4a0c7c4046 Added space to list of illegal alias characters - fixes filename creation bug when filename contained a space 2007-04-22 07:34:18 +00:00
Michael Chisholm
c394419d72 Fixed seek to end of file when reading 2007-04-12 01:06:35 +00:00
Michael Chisholm
cdc8378826 Fixed device type identifier 2007-04-04 12:31:08 +00:00
Michael Chisholm
4191c6de84 Check long file names for buffer overflow 2007-03-14 10:51:45 +00:00
Michael Chisholm
be7f9f10fb Fixed seek to the end of a file bug 2007-02-25 09:51:47 +00:00
Michael Chisholm
c26b60e6e0 Propagate disc errors up to the user app 2007-02-11 02:08:53 +00:00
Michael Chisholm
359b38085a Added SC_MODE_FLASH 2007-02-11 02:07:58 +00:00
Dave Murphy
e64acc0133 make dirnext return 0 for success & -1 for error/no more files 2007-01-25 18:01:02 +00:00
Dave Murphy
537cb4c6d7 use updated names for time structs 2007-01-25 17:15:43 +00:00
Dave Murphy
1bad1ac5d6 use libnds functions for bus ownership 2007-01-25 17:15:13 +00:00
Dave Murphy
985992255a make binary distribution dependent on release build 2007-01-25 17:14:10 +00:00
Michael Chisholm
e81de2b33a Modified header to include RAM start address 2007-01-11 11:23:52 +00:00
Michael Chisholm
fc538f0164 Added missing #include <unistd.h> 2007-01-11 11:23:18 +00:00
Michael Chisholm
f4cb675198 fatInit now sets the correct path when setAsDefaultDevice 2007-01-10 10:48:46 +00:00
Michael Chisholm
7d0b004900 Updated directory iterator functions for DevkitPro r20 2007-01-10 10:34:47 +00:00