mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-02 04:36:57 -06:00
VFS: fix rename
This commit is contained in:
parent
0448b8e3ae
commit
927685fd63
@ -975,7 +975,7 @@ bool vfs::host::rename(const std::string& from, const std::string& to, const lv2
|
|||||||
file.restore_data.seek_pos = file.file.pos();
|
file.restore_data.seek_pos = file.file.pos();
|
||||||
|
|
||||||
file.file.close(); // Actually close it!
|
file.file.close(); // Actually close it!
|
||||||
escaped_real.emplace_back(ensure(idm::get_unlocked<lv2_file>(id)), std::move(escaped));
|
escaped_real.emplace_back(ensure(idm::get_unlocked<lv2_fs_object, lv2_file>(id)), std::move(escaped));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user