mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Revert recent file system changes (#11370)
* Revert "FS: use std::filesystem::u8path" This reverts commitcd016be86e
. * Revert "VFS: fix missing path deliminators" This reverts commit84753db574
. * Revert "Bugfix of Emulator::Load disc path searching" This reverts commitb9179de288
. * Revert "fs: Reimplement path resolving using std::filesystem::weakly_canonical" This reverts commit0c4b2ff06b
.
This commit is contained in:
parent
949e93bec7
commit
f526027778
6 changed files with 22 additions and 45 deletions
|
@ -26,6 +26,8 @@
|
|||
#include "Emu/Audio/FAudio/FAudioBackend.h"
|
||||
#endif
|
||||
|
||||
#include <QFileInfo> // This shouldn't be outside rpcs3qt...
|
||||
|
||||
LOG_CHANNEL(sys_log, "SYS");
|
||||
|
||||
/** Emu.Init() wrapper for user management */
|
||||
|
@ -121,5 +123,10 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
return result;
|
||||
};
|
||||
|
||||
callbacks.resolve_path = [](std::string_view sv)
|
||||
{
|
||||
return QFileInfo(QString::fromUtf8(sv.data(), static_cast<int>(sv.size()))).canonicalFilePath().toStdString();
|
||||
};
|
||||
|
||||
return callbacks;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue