summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorsl1nk3.s <sl1nk3.s@gmail.com>2009-06-12 16:07:07 +0000
committersl1nk3.s <sl1nk3.s@gmail.com>2009-06-12 16:07:07 +0000
commit04db7f5260e22d750b00b2da1ef98ae460f655d3 (patch)
treecc2179403c87b6da1fa55758c0762ecf18230454 /Source/Core
parentd99deae17d91b8ae6ad4b677914e78881b58c1e0 (diff)
I need glasses
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3412 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp2
1 files changed, 1 insertions, 1 deletions
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 {