From c48aca7c376427eed4d8aaefe1695a42dd375fd1 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Sun, 30 May 2010 09:41:38 +0000 Subject: [PATCH] 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 --- Source/Core/Common/Src/FileUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index ae68b6b0c5..728628e9e7 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -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;