mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-01 12:15:27 -06: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
4b5843492c
commit
3ada2d7649
@ -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…
Reference in New Issue
Block a user