mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Common: Fix GetWorkingDirectory on unix
This commit is contained in:
parent
5d15d5958e
commit
ea25f49c65
@ -1557,6 +1557,7 @@ std::string FileSystem::GetWorkingDirectory()
|
||||
buffer.resize(buffer.size() * 2);
|
||||
}
|
||||
|
||||
buffer.resize(std::strlen(buffer.c_str())); // Remove excess nulls
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user