mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-12 03:39:27 +00:00
fs: Minor fix of fs::dir::open
Did not close previous handle on fs::dir::open like on fs::file
This commit is contained in:
parent
d63e643081
commit
2b9f076024
@ -1789,6 +1789,8 @@ fs::file_id fs::file::get_id() const
|
||||
|
||||
bool fs::dir::open(const std::string& path)
|
||||
{
|
||||
m_dir.reset();
|
||||
|
||||
if (path.empty())
|
||||
{
|
||||
// Don't allow opening empty path (TODO)
|
||||
|
Loading…
Reference in New Issue
Block a user