small fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1364 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-12-01 08:34:51 +00:00
parent 356f57baec
commit e6022acf26
6 changed files with 18 additions and 27 deletions

View File

@ -481,14 +481,9 @@ error_jmp:
void GetCurrentDirectory(std::string& _rDirectory)
{
#ifdef _WIN32
char tmpBuffer[MAX_PATH+1];
getcwd(tmpBuffer, MAX_PATH);
_rDirectory = tmpBuffer;
#else
PanicAlert("Missing Linux support of GetCurrentDirectory");
#endif
}
} // namespace