mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1364 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
356f57baec
commit
e6022acf26
6 changed files with 18 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue