Common: Fix GetWorkingDirectory on unix

This commit is contained in:
TellowKrinkle authored and refractionpcsx2 committed 2021-12-23 07:49:14 +00:00
1 parent 5d15d5958e
commit ea25f49c65
1 file changed
+1
+1
View File
@@ -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;
}