mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-15 22:53:47 +00:00
Fix directory opening on Linux systems
This commit is contained in:
parent
bcf4a6209e
commit
a6a4081894
@ -856,7 +856,7 @@ bool fs::dir::open(const std::string& dirname)
|
|||||||
|
|
||||||
m_dd = -1;
|
m_dd = -1;
|
||||||
#else
|
#else
|
||||||
const auto ptr = ::opendir(m_path.get());
|
const auto ptr = ::opendir(dirname.c_str());
|
||||||
if (!ptr)
|
if (!ptr)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user