mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 06:35:39 +00:00
making sense of if
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1380 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d8a26fe9e0
commit
ab36429fb0
@ -116,9 +116,9 @@ bool CWII_IPC_HLE_Device_fs::IOCtlV(u32 _CommandAddress)
|
|||||||
the handle, so perhaps this is better
|
the handle, so perhaps this is better
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!File::Exists(Filename.c_str()) && !File::IsDirectory(Filename.c_str()))
|
if (!File::Exists(Filename.c_str()))
|
||||||
{
|
{
|
||||||
LOG(WII_IPC_FILEIO, " Not a file and not a directory - return FS_DIRFILE_NOT_FOUND", Filename.c_str());
|
LOG(WII_IPC_FILEIO, " directory does not exist - return FS_DIRFILE_NOT_FOUND", Filename.c_str());
|
||||||
ReturnValue = FS_DIRFILE_NOT_FOUND;
|
ReturnValue = FS_DIRFILE_NOT_FOUND;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user