Commit Graph

151 Commits

Author SHA1 Message Date
Dave Murphy
8d8b83e967 revert cache bypass 2011-01-11 12:11:09 +00:00
tantricity
ba3622a4cd only bypass cache fill on write for nds. this is sub-optimal on wii/gc. 2010-11-17 18:44:13 +00:00
zeromus
639836914a another little warning-smashing change i found 2010-10-22 05:05:46 +00:00
zeromus
34e1fb3bad just a tiny warning-smashing change i found laying around in here 2010-10-22 05:03:52 +00:00
Dave Murphy
7f77d19460 last cluster is valid for allocation 2010-10-12 11:36:42 +00:00
Dave Murphy
81110882db correct use of uninitialised variable 2010-10-07 21:53:18 +00:00
tantricity
571d57ee0a fix volume label bug (rodries) 2010-09-18 17:56:47 +00:00
tantricity
d5702c9f29 better check for devoptab name 2010-09-04 07:15:56 +00:00
Dave Murphy
5f29cee9cb remove bogus FAT check 2010-09-03 18:52:49 +00:00
Dave Murphy
247aa36062 avoid buffer overflow 2010-09-03 18:49:11 +00:00
tantricity
eb73138455 minor changes 2010-06-26 19:33:19 +00:00
tantricity
9b55efe66d fix 2010-06-19 08:12:39 +00:00
tantricity
77fecb0cd9 check if devoptab exists. if yes, return false. 2010-06-18 23:40:44 +00:00
Dave Murphy
fd85021971 add overridable locking functions 2010-05-16 11:17:43 +00:00
Dave Murphy
5d0cd6bc7c add new elements for devkitARM r29, use internal deallocaters 2010-03-21 11:09:34 +00:00
Dave Murphy
cc78aaf803 remove functions we're not adding after all 2010-03-21 11:07:48 +00:00
Dave Murphy
f239c20c79 remove pointless extern qualifiers 2010-03-21 11:06:53 +00:00
Dave Murphy
0f96214202 use internal allocator 2010-02-11 10:08:16 +00:00
Dave Murphy
79e3dc0948 applied http://sourceforge.net/support/tracker.php?aid=2885644 2009-10-27 00:55:26 +00:00
tantricity
7f77159f6a fix volume label check 2009-10-21 22:06:27 +00:00
tantricity
a8ed97403b added fatGetVolumeLabel (rodries) 2009-10-17 20:29:48 +00:00
tantricity
9f7c3edc44 correct mixed line endings 2009-10-17 18:59:17 +00:00
tantricity
3b6561d4ca do not shut down the interface on unmount. other partitons (fat, ntfs, etc) may still be mounted on the device! 2009-10-16 21:38:51 +00:00
Dave Murphy
bf2d7d1130 bypass cache fill on write 2009-10-07 19:54:16 +00:00
Dave Murphy
b7dcf2ce33 fix cluster over allocation, skip cluster alignment write if already aligned 2009-10-07 19:48:51 +00:00
Dave Murphy
18d059aaec don't limit sectors on DS 2009-10-07 19:46:09 +00:00
Dave Murphy
6cb8909dc8 correct typo 2009-10-06 20:27:38 +00:00
tantricity
d09577c51a find the first valid fat partition (rodries) 2009-06-30 08:01:04 +00:00
tantricity
8ad45f1556 clean 2009-06-30 07:54:49 +00:00
tantricity
38528ce18f correct line endings 2009-06-30 07:48:29 +00:00
Dave Murphy
aa7a8929ee removed commented test code 2009-06-11 00:48:34 +00:00
Dave Murphy
488d832012 make LFN tables static 2009-06-11 00:47:38 +00:00
Dave Murphy
1befdfead1 prevent caching off end of partition 2009-06-09 19:42:35 +00:00
Dave Murphy
eafce2e122 .. in subdir of root always links to cluster 0 2009-06-09 18:22:51 +00:00
Dave Murphy
76a9624d2e only sync if file open for writing 2009-06-09 18:20:22 +00:00
Michael Wiedenbauer
980ade67d4 - reverted .last_access handling to use the static counter. Old behaviour - counting up .last_access directly - lead to a heavy performance impact. 2009-06-09 11:39:57 +00:00
Michael Wiedenbauer
5324215493 - if current sector is not in cache the starting sector to read from disc needs to be recalculated to be a multiple of sectorsPerPage 2009-06-08 21:00:42 +00:00
tantricity
245ac2fee5 change partition->disc to partition->cache (from rodries) 2009-06-06 22:54:40 +00:00
Michael Wiedenbauer
806fc418e0 - cleaned up cache code. reverted access policy to what it was before.
- _FAT_fat_linkFreeClusterCleared must go thru cache aswell.
2009-06-06 16:06:42 +00:00
Dave Murphy
22f3dea64f short aliases aren't multibyte
zero terminate generated alias
2009-06-02 13:40:14 +00:00
tantricity
e89b232b5f remove unused code, r18 args fix 2009-05-30 16:22:09 +00:00
Dave Murphy
af94077a7a move device startup to fatMount
shut device down in fatUnmount
2009-05-30 15:54:52 +00:00
tantricity
7262354c49 new write cache, flush dirty pages. fix by rodries. 2009-05-30 06:52:18 +00:00
tantricity
7d8f5f3194 sync written data to disk on f_write 2009-05-28 17:50:36 +00:00
tantricity
56261df0c7 counter fix 2009-05-20 18:22:26 +00:00
tantricity
1c6db0ae1b remove unnecessary function 2009-05-20 18:12:27 +00:00
Dave Murphy
206ce78022 add read ahead cache by Rodries 2009-05-17 22:16:35 +00:00
Dave Murphy
527a26f299 reinstate memcard drivers for wii 2009-05-17 20:40:15 +00:00
tantricity
fcb840cd66 remove trailing spaces 2009-05-17 20:19:56 +00:00
Dave Murphy
36b712eb75 correct year in _FAT_filetime_to_time_t 2009-05-01 07:57:13 +00:00