mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
VFS: Fix mounting non-existant paths (#13488)
This commit is contained in:
parent
2de4c03faa
commit
8bc92a2cbb
2 changed files with 3 additions and 0 deletions
|
@ -327,6 +327,7 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
|
||||
callbacks.resolve_path = [](std::string_view sv)
|
||||
{
|
||||
// May result in an empty string if path does not exist
|
||||
return QFileInfo(QString::fromUtf8(sv.data(), static_cast<int>(sv.size()))).canonicalFilePath().toStdString();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue