yellows8
|
7da25ba40f
|
Updated fs_dev.h comments, etc. Fixed _fsdevUnmountDeviceStruct(). Added fsdevCommitDevice(). Check whether sdmc is already mounted in fsdevInit().
|
2017-11-30 13:00:47 -05:00 |
|
yellows8
|
0c5efe5f9c
|
Added a comment in fs_dev.h. Adjusted fs.h formatting, etc. Added support for mounting SaveData.
|
2017-11-30 01:58:21 -05:00 |
|
yellows8
|
cb123dd579
|
Imported initArgv from libctru. Load __system_argc/__system_argv in crt0. Enabled the __system_argc/__system_argv code in fsdev.
|
2017-11-29 21:30:40 -05:00 |
|
yellows8
|
99e4a61492
|
Moved fsdev_dir_t/*MAGIC into the .h. Removed fsdevWriteSafe(). Added fsdevMountDevice/fsdevUnmountDevice to the .h. Moved the code for fsdevUpdateDevices() into fsdevInit(). Changed _fsdevMountDevice() to static. Added fsdev_read_safe(). Automatically calll fsdev_{read/write}_safe() when required, instead of using fsdevWriteSafe().
|
2017-11-29 19:40:21 -05:00 |
|
yellows8
|
49959e4e37
|
FS adjustments + fixed fsFsGetFreeSpace/fsFsGetTotalSpace. In fs_dev: fixed cwd handling, unmounting adjustments, use fsFsGetEntryType(), updated fsdev_dirnext(), and properly handle fsdev_statvfs().
|
2017-11-29 01:47:11 -05:00 |
|
yellows8
|
02526c920e
|
Updated comments for fsdevWriteSafe().
|
2017-11-27 18:43:02 -05:00 |
|
yellows8
|
59880e9488
|
Removed output bytes_written for fsFileWrite() since the command doesn't actually return that. In fsdev_open(), set the FS_OPEN_APPEND flag when opening for writing. Adjusted file-creation handling in fsdev_open().
|
2017-11-27 17:40:49 -05:00 |
|
yellows8
|
96010d3c75
|
Use a global field for default fsdev device. Added 'id' to fsdev_fsdevice struct. Adjusted fsdev mounting handling, and verify that the specified device name isn't already used. In _fsdevUnmountDeviceStruct(), call RemoveDevice() with ':' appended to name. Adjusted fsdevInit(). Adjusted comments for fsdevWriteSafe(). In fsdev_rename(), throw an error if the two paths don't use the same device.
|
2017-11-26 00:55:10 -05:00 |
|
yellows8
|
cca73c47fa
|
__thread fix by fincs.
|
2017-11-25 12:02:25 -05:00 |
|
yellows8
|
d7e611f9f4
|
fs_dev adjustments: disabled broken __thread, handle default device in fsdevFindDevice(), and check for fsdevFindDevice() failure in fsdev_fixpath(). Added a comment in _fsdevUnmountDeviceStruct(). Removed the return at the start of fsdev_open().
|
2017-11-24 22:30:44 -05:00 |
|
yellows8
|
25f2839c75
|
Imported util/utf from libctru. Updated appInit/appExit. Fs adjustments + implemented IDirectory. Imported a modified version of sdmc_dev from libctru as fs_dev, this currently isn't usable.
|
2017-11-23 15:00:56 -05:00 |
|