Commit Graph

129 Commits

Author SHA1 Message Date
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
Michael Chisholm
0dc13f35a1 Directory support updated for DKP r20 2007-01-10 10:33:20 +00:00
Michael Chisholm
6ea9f6b6c0 Removed MMCF from repository 2007-01-05 10:01:36 +00:00
Michael Chisholm
677a1e386a Added DLDI interface. 2006-12-25 11:45:21 +00:00
Michael Chisholm
516b204100 Removed warning fix, which is actually due to a bug in libnds 2006-11-14 06:42:20 +00:00
Michael Chisholm
d48f48d55a Changed data register address to 0x09000000 2006-11-14 06:32:27 +00:00
Michael Chisholm
e5c6ce9a09 Reduced voltage range again. Hopefully fixes MicroSD cards. 2006-11-14 06:29:41 +00:00
Michael Chisholm
74f3ca8a59 _partitions changed to _FAT_partitions to maintain the same style of naming as the functions 2006-10-28 07:39:11 +00:00
Michael Chisholm
43f90657e3 stat returns the hostType for the st_dev value 2006-10-28 07:38:31 +00:00
Michael Chisholm
ef95b683be Fixed incorrect use of bitwise-or instead of logical-or 2006-10-01 12:29:10 +00:00
Michael Chisholm
8956d40bc1 Now clears the whole cluster when creating or extending a directory, bug found by Hermes 2006-09-30 16:00:01 +00:00
Michael Chisholm
dbdb8900b5 Added _FAT_fat_linkFreeClusterCleared to clear a cluster when it is allocated 2006-09-30 15:58:33 +00:00
Michael Chisholm
31a9ccffec Validity checks performed on the time supplied by the IPC
Cleaned up magic numbers
2006-09-30 11:39:55 +00:00
Michael Chisholm
299d69a1e3 Definitely supports SC Lite now 2006-08-19 12:32:54 +00:00