De-inline StripTailDirSlashes() to work around a weird code generation bug.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5549 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5070a59799
commit
c48aca7c37
|
@ -55,7 +55,7 @@ namespace File
|
||||||
|
|
||||||
// Remove any ending forward slashes from directory paths
|
// Remove any ending forward slashes from directory paths
|
||||||
// Modifies argument.
|
// Modifies argument.
|
||||||
inline char *StripTailDirSlashes(char *fname)
|
static char *StripTailDirSlashes(char *fname)
|
||||||
{
|
{
|
||||||
int len = (int)strlen(fname);
|
int len = (int)strlen(fname);
|
||||||
int i = len - 1;
|
int i = len - 1;
|
||||||
|
|
Loading…
Reference in New Issue