mirror of https://github.com/PCSX2/pcsx2.git
iop: Fix booting ELF files on a different drive
Fixes a regression introduced in b3b1f3ac68
,
where ELF files on a different drive to PCSX2 would fail to load.
This commit is contained in:
parent
854246846d
commit
e0ec8b3be1
|
@ -166,7 +166,7 @@ public:
|
|||
|
||||
static int open(IOManFile **file, const std::string &full_path, s32 flags, u16 mode)
|
||||
{
|
||||
const std::string path = full_path.substr(full_path.rfind(':') + 1);
|
||||
const std::string path = full_path.substr(full_path.find(':') + 1);
|
||||
|
||||
// host: actually DOES let you write!
|
||||
//if (flags != IOP_O_RDONLY)
|
||||
|
|
Loading…
Reference in New Issue