mirror of
https://github.com/wiiu-env/libfat.git
synced 2024-11-22 01:49:17 +01:00
fatInit now sets the correct path when setAsDefaultDevice
This commit is contained in:
parent
7d0b004900
commit
f4cb675198
@ -33,6 +33,9 @@
|
||||
|
||||
2006-08-14 - Chishm
|
||||
* Added extended devoptab_t functions
|
||||
|
||||
2007-01-10 - Chishm
|
||||
* fatInit now sets the correct path when setAsDefaultDevice
|
||||
*/
|
||||
|
||||
#include <sys/iosupport.h>
|
||||
@ -101,7 +104,7 @@ bool fatInit (u32 cacheSize, bool setAsDefaultDevice) {
|
||||
AddDevice (&dotab_fat);
|
||||
|
||||
if (setAsDefaultDevice) {
|
||||
setDefaultDevice( FindDevice ("fat:") );
|
||||
chdir ("fat:/");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user