This commit is contained in:
michniewski 2008-08-08 16:27:29 +00:00
parent 530ab87bc5
commit 7cb0371b38
3 changed files with 6 additions and 5 deletions

View File

@ -239,7 +239,7 @@ int parseFATdirectory(int method)
fatdir = diropen(currFATdir); fatdir = diropen(currFATdir);
if (fatdir == NULL) if (fatdir == NULL)
{ {
sprintf(msg, "Error opening %s", currFATdir); sprintf(msg, "Couldn't find %s", currFATdir);
WaitPrompt(msg); WaitPrompt(msg);
// if we can't open the previous dir, open root dir // if we can't open the previous dir, open root dir

View File

@ -657,8 +657,9 @@ void SetControllers ()
else if (Settings.MouseMaster == true) else if (Settings.MouseMaster == true)
{ {
// some games (eg: Mario Paint) don't allow the mouse in port 2 // some games (eg: Mario Paint) don't allow the mouse in port 2
S9xSetController (0, CTL_MOUSE, (GCSettings.Mouse == 2), 0, 0, 0); S9xSetController (0, CTL_MOUSE, 0, 0, 0, 0);
S9xSetController (1, CTL_JOYPAD, 1, 0, 0, 0); if (GCSettings.Mouse == 2) S9xSetController (1, CTL_MOUSE, 1, 0, 0, 0);
else S9xSetController (1, CTL_JOYPAD, 1, 0, 0, 0);
} }
else if (Settings.JustifierMaster == true) else if (Settings.JustifierMaster == true)
{ {

View File

@ -250,7 +250,7 @@ LoadSRAM (int method, bool silent)
if(method == METHOD_SD || method == METHOD_USB) if(method == METHOD_SD || method == METHOD_USB)
{ {
changeFATInterface(GCSettings.SaveMethod); changeFATInterface(method);
sprintf (filepath, "%s/%s/%s.srm", ROOTFATDIR, GCSettings.SaveFolder, Memory.ROMFilename); sprintf (filepath, "%s/%s/%s.srm", ROOTFATDIR, GCSettings.SaveFolder, Memory.ROMFilename);
offset = LoadBufferFromFAT (filepath, silent); offset = LoadBufferFromFAT (filepath, silent);
} }
@ -310,7 +310,7 @@ SaveSRAM (int method, bool silent)
{ {
if(method == METHOD_SD || method == METHOD_USB) if(method == METHOD_SD || method == METHOD_USB)
{ {
changeFATInterface(GCSettings.SaveMethod); changeFATInterface(method);
sprintf (filepath, "%s/%s/%s.srm", ROOTFATDIR, GCSettings.SaveFolder, Memory.ROMFilename); sprintf (filepath, "%s/%s/%s.srm", ROOTFATDIR, GCSettings.SaveFolder, Memory.ROMFilename);
offset = SaveBufferToFAT (filepath, datasize, silent); offset = SaveBufferToFAT (filepath, datasize, silent);
} }