mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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
|
||||
// Modifies argument.
|
||||
inline char *StripTailDirSlashes(char *fname)
|
||||
static char *StripTailDirSlashes(char *fname)
|
||||
{
|
||||
int len = (int)strlen(fname);
|
||||
int i = len - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user