rpcsx/rpcs3/Emu
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
..
ARMv7 Minor fixes 2015-05-08 12:45:21 +03:00
Audio rfile_t renamed 2015-04-25 00:38:11 +03:00
Cell Minor fixes 2015-05-08 12:45:21 +03:00
CPU Bugfix 2015-04-20 02:49:13 +03:00
FS Change GetDeviceLocal device selection 2015-05-21 10:45:40 +02:00
HDD rfile_t renamed 2015-04-25 00:38:11 +03:00
Io Fix m_inited 2015-02-22 16:52:20 +02:00
Memory Minor fixes 2015-05-08 12:45:21 +03:00
RSX Minor fixes 2015-05-08 12:45:21 +03:00
SysCalls cellFs fix 2015-05-09 01:36:15 +03:00
DbgCommand.cpp Include cleaning 2014-08-24 21:42:19 +04:00
DbgCommand.h Include cleaning 2014-08-24 21:42:19 +04:00
Event.cpp Events improved 2015-04-13 16:32:09 +03:00
Event.h Compilation fix 2015-03-07 01:58:42 +03:00
GameInfo.h GUI: show game icons in GameViewer 2014-12-13 21:27:34 +04:00
IdManager.h KernelExplorer fixed 2015-04-14 05:00:31 +03:00
System.cpp Change GetDeviceLocal device selection 2015-05-21 10:45:40 +02:00
System.h vfsLocalDir, rFile routines improved 2015-04-15 17:27:37 +03:00