rpcsx/rpcs3/Emu/FS
Peter Tissen 0b0c8723eb Change GetDeviceLocal device selection
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
2015-05-21 10:45:40 +02:00
..
VFS.cpp Change GetDeviceLocal device selection 2015-05-21 10:45:40 +02:00
VFS.h o_append implemented 2015-04-24 17:06:30 +03:00
vfsDevice.cpp rFileName removed 2015-04-23 19:58:37 +03:00
vfsDevice.h Some std include moved 2014-08-28 20:29:05 +04:00
vfsDeviceLocalFile.cpp Fixed cellFsOpen & cellFsOpendir 2014-02-16 17:37:32 +02:00
vfsDeviceLocalFile.h Fixed cellFsOpen & cellFsOpendir 2014-02-16 17:37:32 +02:00
vfsDir.cpp Linux fixes 2015-01-09 01:17:26 +03:00
vfsDir.h Improved LLE Manager 2014-11-29 15:16:53 +02:00
vfsDirBase.cpp rfile_t renamed 2015-04-25 00:38:11 +03:00
vfsDirBase.h vfsLocalDir, rFile routines improved 2015-04-15 17:27:37 +03:00
vfsFile.cpp rFileName removed 2015-04-23 19:58:37 +03:00
vfsFile.h wxFile removed (rFile -> rfile_t) 2015-04-19 16:19:24 +03:00
vfsFileBase.cpp wxFile removed (rFile -> rfile_t) 2015-04-19 16:19:24 +03:00
vfsFileBase.h Bugfix 2015-04-20 01:26:28 +03:00
vfsLocalDir.cpp fs::dir implemented, bugfixes 2015-04-25 22:15:53 +03:00
vfsLocalDir.h fs::dir implemented, bugfixes 2015-04-25 22:15:53 +03:00
vfsLocalFile.cpp rfile_t renamed 2015-04-25 00:38:11 +03:00
vfsLocalFile.h rfile_t renamed 2015-04-25 00:38:11 +03:00
vfsStream.cpp wxFile removed (rFile -> rfile_t) 2015-04-19 16:19:24 +03:00
vfsStream.h rfile_t renamed 2015-04-25 00:38:11 +03:00
vfsStreamMemory.cpp wxFile removed (rFile -> rfile_t) 2015-04-19 16:19:24 +03:00
vfsStreamMemory.h wxFile removed (rFile -> rfile_t) 2015-04-19 16:19:24 +03:00