rpcsx/rpcs3
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
..
cmake_modules add precompiled header build to cmake to speed up building 2014-04-27 19:07:20 +02:00
Crypto Merge pull request #1062 from Nekotekina/master 2015-04-25 19:32:47 +01:00
Emu Change GetDeviceLocal device selection 2015-05-21 10:45:40 +02:00
Gui vfsDir usage fixed 2015-04-26 00:26:54 +03:00
Loader Minor fixes 2015-05-08 12:45:21 +03:00
rpcs3qt Qt: Update to match rest of emu. 2014-07-09 02:26:31 +10:00
CMakeLists.txt Stop overwriting the ADDITIONAL_LIBS setting for CMake. 2015-04-09 00:09:03 +02:00
define_new_memleakdetect.h Fix compile errors in Debug - MemLeak. 2014-09-07 10:43:25 +02:00
emucore.vcxproj rfile_t renamed 2015-04-25 00:38:11 +03:00
emucore.vcxproj.filters rfile_t renamed 2015-04-25 00:38:11 +03:00
emucore.vcxproj.user Cleanup some files 2014-10-22 01:12:15 +05:30
git-version.cmake Fix My error 2015-01-15 04:18:44 +01:00
Ini.cpp o_append implemented 2015-04-24 17:06:30 +03:00
Ini.h o_append implemented 2015-04-24 17:06:30 +03:00
restore_new.h Fix compile errors in Debug - MemLeak. 2014-09-07 10:43:25 +02:00
rpcs3.cpp Logging fixed 2015-04-25 16:29:05 +03:00
rpcs3.h Add support for "test mode" 2015-01-27 17:14:15 +02:00
rpcs3.rc http://code.google.com/p/rpcs3/source/detail?r=44 2012-11-15 01:39:56 +02:00
rpcs3.vcxproj PSFLoader improved 2015-04-16 18:33:55 +03:00
rpcs3.vcxproj.filters PSFLoader improved 2015-04-16 18:33:55 +03:00
rpcs3.vcxproj.user reset debug output directory 2014-06-08 23:23:36 +02:00
stdafx.cpp Compilation fix 3 2015-01-12 23:37:29 +03:00
stdafx.h Bugfix 2015-04-20 01:26:28 +03:00
stdafx_gui.cpp stdafx_gui.h created, wx removed from stdafx.h 2014-08-29 02:49:26 +04:00
stdafx_gui.h Compilation fix 2014-08-29 16:07:50 +04:00