libfat 1.0.4 is supposed to fix this, but my new created folder doesn't have a timestamp.
http://forums.devkitpro.org/viewtopic.php?f=13&t=1236
(i would like the ability to discuss the changes directly in that forum)
I used:
mode_t m = 0777;
mkdir(folder, m);
to create the folder.
Search found 19 matches
- Thu May 14, 2009 9:28 pm
- Forum: libfat
- Topic: Still no timestamp on my folder
- Replies: 0
- Views: 3360
- Thu May 14, 2009 2:21 pm
- Forum: Gamecube/Wii Development
- Topic: Any SD card fixes in the next version?
- Replies: 2
- Views: 5944
Re: Any SD card fixes in the next version?
What SD bugs do you have in mind? The only one i knew(timestamp when creating folders) was fixed in libfat 1.0.4:
http://forums.devkitpro.org/viewtopic.php?f=13&t=1236
For me sd card access works well, but i do only basic file read/write stuff.
http://forums.devkitpro.org/viewtopic.php?f=13&t=1236
For me sd card access works well, but i do only basic file read/write stuff.
- Sat May 09, 2009 9:32 am
- Forum: Gamecube/Wii Development
- Topic: Usb box is not recognize
- Replies: 3
- Views: 5285
Re: Usb box is not recognize
Hmm, that's the whole code i use for usb storage: #include <ogc/usbstorage.h> __io_usbstorage.startup(); fatMountSimple("usb", &__io_usbstorage); fatUnmount("usb"); __io_usbstorage.shutdown(); Which works for all my usb storage devices until an IOS reload. (because __io_usbst...
- Fri May 08, 2009 9:16 pm
- Forum: Gamecube/Wii Development
- Topic: Usb box is not recognize
- Replies: 3
- Views: 5285
Re: Usb box is not recognize
I know it's a stupid question, but i have to ask. Are your HDDs fat formatted? You seem to know what you are doing, but most people have ntfs formatted drives and wonder why they don't work.
- Wed Apr 22, 2009 12:27 am
- Forum: Gamecube/Wii Development
- Topic: Loop around examples/wii/fs/directory - Test your SD Cards
- Replies: 4
- Views: 7385
Re: Loop around examples/wii/fs/directory - Test your SD Cards
Could you repeat that in english without abbreviations? I can't understand you.
- Tue Apr 21, 2009 10:04 pm
- Forum: devkitPPC
- Topic: Having a little trouble with gekko-gcc
- Replies: 8
- Views: 12858
Re: Having a little trouble with gekko-gcc
Vista? Did you try to run it with admin rights?
- Tue Apr 21, 2009 10:03 pm
- Forum: Gamecube/Wii Development
- Topic: Missing usbstorage_Deinitialize
- Replies: 4
- Views: 6932
Re: Missing usbstorage_Deinitialize
Even if i use: __io_usbstorage.startup(); fatMountSimple("usb", &__io_usbstorage); to init the usb storage and: fatUnmount("usb"); __io_usbstorage.shutdown(); to deinit it, i can't access usb storage before and after an ios reload. Am i the only one with this problem?
- Tue Apr 21, 2009 9:59 pm
- Forum: Bug Reports
- Topic: libogc: mutex_t isn't declared in usbstorage.h
- Replies: 0
- Views: 3054
libogc: mutex_t isn't declared in usbstorage.h
I know it's maybe not really a bug, but the type mutex_t which is declared in ogc/mutex.h is used in ogc/usbstorage.h, but it's not inside any of its includes.
If you want to use ogc/usbstorage.h, you have to inculde ogc/mutex.h too. This doesn't make sense to me.
If you want to use ogc/usbstorage.h, you have to inculde ogc/mutex.h too. This doesn't make sense to me.
- Tue Apr 21, 2009 5:56 pm
- Forum: Gamecube/Wii Development
- Topic: Loop around examples/wii/fs/directory - Test your SD Cards
- Replies: 4
- Views: 7385
Re: Loop around examples/wii/fs/directory - Test your SD Cards
I switched to use fatMountSimple instead of fatInitDefault, because fatInitDefault initialises usb too. Basically this wouldn't be a porblem, but it is, because it's not working 100%. If you have any usb devices connected and you do more than just 1 fatinit, you will eventually get problems. And i p...
- Sat Apr 18, 2009 9:24 am
- Forum: devkitPPC
- Topic: Having a little trouble with gekko-gcc
- Replies: 8
- Views: 12858
Re: Having a little trouble with gekko-gcc
Did you restart windows after the installation? devkitPro doesn't ask you to do it, but it's necessary.