mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-19 15:10:19 +01:00
For `GetDeviceLocal` only consider a device if the full path to the device matches the first part of the path to match. The issue was that putting in a file that was not in a sub-path of an existing mounted device failed. So if the rpcs3 devices are in D:\DEV\rpcs3\bin and you open D:\DEV\ps3autotests\tests\rsx\primitives\primitives.ppu.elf it would return /dev_usb000/ps3autotests\tests\rsx\primitives\primitives.ppu.elf which resolves to D:/DEV/rpcs3/bin/dev_usb000/ps3autotests/tests/rsx/primitives/primitives.ppu.elf and is wrong. Correct are either /dev_usb000/../../../ps3autotests\tests\rsx\primitives\primitives.ppu.elf or /hostfs/D:\DEV\ps3autotests\tests\rsx\primitives\primitives.ppu.elf I chose to resolve without the ".." beyond root, since that just seems wrong (so it will now return the hostfs version). Fixes #1090 |
||
|---|---|---|
| .. | ||
| VFS.cpp | ||
| VFS.h | ||
| vfsDevice.cpp | ||
| vfsDevice.h | ||
| vfsDeviceLocalFile.cpp | ||
| vfsDeviceLocalFile.h | ||
| vfsDir.cpp | ||
| vfsDir.h | ||
| vfsDirBase.cpp | ||
| vfsDirBase.h | ||
| vfsFile.cpp | ||
| vfsFile.h | ||
| vfsFileBase.cpp | ||
| vfsFileBase.h | ||
| vfsLocalDir.cpp | ||
| vfsLocalDir.h | ||
| vfsLocalFile.cpp | ||
| vfsLocalFile.h | ||
| vfsStream.cpp | ||
| vfsStream.h | ||
| vfsStreamMemory.cpp | ||
| vfsStreamMemory.h | ||