From 04db7f5260e22d750b00b2da1ef98ae460f655d3 Mon Sep 17 00:00:00 2001 From: "sl1nk3.s" Date: Fri, 12 Jun 2009 16:07:07 +0000 Subject: [PATCH] I need glasses git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3412 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp index 87f3470989..2e2abe08b1 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp @@ -95,7 +95,7 @@ CWII_IPC_HLE_Device_FileIO::Open(u32 _CommandAddress, u32 _Mode) m_Filename = std::string(HLE_IPC_BuildFilename(GetDeviceName().c_str(), 64)); // Reading requires the file to exist, but writing doesn't (what a smart thought) - if(_Mode != 0x02 && && !File::Exists(m_Filename.c_str())) { + if(_Mode != 0x02 && !File::Exists(m_Filename.c_str())) { ERROR_LOG(WII_IPC_FILEIO, " FileIO failed open for reading: %s - File doesn't exist", m_Filename.c_str()); ReturnValue = FS_FILE_NOT_EXIST; } else {