*little fix

This commit is contained in:
dimok321 2009-06-01 17:50:42 +00:00
parent 904fda37d4
commit b4a7b23680
3 changed files with 8 additions and 4 deletions

View File

@ -103,7 +103,8 @@ Loadingstandardlanguage = Chargement de la langue par d
Loadingstandardmusic = Chargement musique standard. Loadingstandardmusic = Chargement musique standard.
Lock = Verrouiller Lock = Verrouiller
LockConsole = Verrouiller la console LockConsole = Verrouiller la console
MP3Menu = Menu MP3 //MP3Menu = Menu MP3
Patchcountrystrings = Patch Jeux Import
Missingfiles = Fichier(s) manquant(s) Missingfiles = Fichier(s) manquant(s)
Networkiniterror = Erreur d'initialisation réseau Networkiniterror = Erreur d'initialisation réseau
Neither = Aucun Neither = Aucun

File diff suppressed because one or more lines are too long

View File

@ -7,12 +7,14 @@
#include <ogc/usbstorage.h> #include <ogc/usbstorage.h>
#include <sdcard/wiisd_io.h> #include <sdcard/wiisd_io.h>
#define CACHE 4 //these are the only stable and speed is good
#define SECTORS 64 #define CACHE 32
#define SECTORS 128
int USBDevice_Init() int USBDevice_Init()
{ {
return 0;
//closing all open Files write back the cache and then shutdown em! //closing all open Files write back the cache and then shutdown em!
fatUnmount("USB:/"); fatUnmount("USB:/");
//right now only mounts first partition //right now only mounts first partition
@ -24,6 +26,7 @@ int USBDevice_Init()
void USBDevice_deInit() void USBDevice_deInit()
{ {
return;
//closing all open Files write back the cache and then shutdown em! //closing all open Files write back the cache and then shutdown em!
fatUnmount("USB:/"); fatUnmount("USB:/");
} }