mirror of https://github.com/PCSX2/pcsx2.git
HostFS: Add is_host check in the dopen_HLE method
This commit is contained in:
parent
6902ce007a
commit
b2618ba148
|
@ -503,6 +503,8 @@ namespace R3000A
|
|||
IOManDir* dir = NULL;
|
||||
const std::string path = Ra0;
|
||||
|
||||
if (is_host(path))
|
||||
{
|
||||
int err = HostDir::open(&dir, path);
|
||||
|
||||
if (err != 0 || !dir)
|
||||
|
@ -524,6 +526,9 @@ namespace R3000A
|
|||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int dclose_HLE()
|
||||
{
|
||||
s32 dir = a0;
|
||||
|
|
Loading…
Reference in New Issue