mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 00:15:14 +01:00
small fixes
This commit is contained in:
parent
7ebc1432c0
commit
d8b1c813e5
@ -209,8 +209,6 @@ LoadFATFile ()
|
|||||||
WaitPrompt((char*) "Error opening file");
|
WaitPrompt((char*) "Error opening file");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -233,7 +233,7 @@ void StripExt(char* returnstring, char * inputstring)
|
|||||||
strcpy (returnstring, inputstring);
|
strcpy (returnstring, inputstring);
|
||||||
loc_dot = strrchr(returnstring,'.');
|
loc_dot = strrchr(returnstring,'.');
|
||||||
if (loc_dot != NULL)
|
if (loc_dot != NULL)
|
||||||
loc_dot = 0; // strip file extension
|
*loc_dot = 0; // strip file extension
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -284,8 +284,7 @@ SaveBufferToSMB (char *filepath, int datasize, bool silent)
|
|||||||
int
|
int
|
||||||
LoadBufferFromSMB (char *filepath, bool silent)
|
LoadBufferFromSMB (char *filepath, bool silent)
|
||||||
{
|
{
|
||||||
int result = LoadBufferFromSMB((char *)savebuffer, filepath, silent);
|
return LoadBufferFromSMB((char *)savebuffer, filepath, silent);
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user