mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-26 09:35: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)
|
bool fs::dir::open(const std::string& path)
|
||||||
{
|
{
|
||||||
|
m_dir.reset();
|
||||||
|
|
||||||
if (path.empty())
|
if (path.empty())
|
||||||
{
|
{
|
||||||
// Don't allow opening empty path (TODO)
|
// Don't allow opening empty path (TODO)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user