Permalink
Browse files

iop: Fix booting ELF files on a different drive

Fixes a regression introduced in b3b1f3a,
where ELF files on a different drive to PCSX2 would fail to load.
  • Loading branch information...
turtleli committed Dec 25, 2017
1 parent 8542468 commit e0ec8b3be13cbf60b70e147790df9324856b0a8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 pcsx2/IopBios.cpp
View
@@ -166,7 +166,7 @@ class HostFile : public IOManFile
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)

0 comments on commit e0ec8b3

Please sign in to comment.